projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
768eaf1
)
Fix incorrect backslashing in regexp example, per Robert Treat.
author
Tom Lane
Sun, 1 May 2005 15:57:59 +0000
(15:57 +0000)
committer
Tom Lane
Sun, 1 May 2005 15:57:59 +0000
(15:57 +0000)
doc/src/sgml/ref/create_domain.sgml
patch
|
blob
|
blame
|
history
diff --git
a/doc/src/sgml/ref/create_domain.sgml
b/doc/src/sgml/ref/create_domain.sgml
index b07f571c793797b4b0f210a49aa1e68822412143..89b51aa76db7dbfc7810684fc6af4be2ead55799 100644
(file)
--- a/
doc/src/sgml/ref/create_domain.sgml
+++ b/
doc/src/sgml/ref/create_domain.sgml
@@
-1,5
+1,5
@@
@@
-167,8
+167,8
@@
where
constraint
is:
CREATE DOMAIN us_postal_code AS TEXT
CHECK(
- VALUE ~ '^\d{5}$'
-OR VALUE ~ '^\
d{5}-
\d{4}$'
+ VALUE ~ '^\
\
d{5}$'
+OR VALUE ~ '^\
\d{5}-\
\d{4}$'
);
CREATE TABLE us_snail_addy (