projects
/
users
/
gsingh
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
50433d6
)
Backport fix for correct quoting in CREATE DOMAIN example. Per Robert
author
Neil Conway
<neilc@samurai.com>
Mon, 2 May 2005 01:56:16 +0000
(
01:56
+0000)
committer
Neil Conway
<neilc@samurai.com>
Mon, 2 May 2005 01:56:16 +0000
(
01:56
+0000)
Treat.
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..497d574630dfe9aa520b77b6fb156243a3226f4a 100644
(file)
--- a/
doc/src/sgml/ref/create_domain.sgml
+++ b/
doc/src/sgml/ref/create_domain.sgml
@@
-1,5
+1,5
@@
<!--
-$PostgreSQL: pgsql/doc/src/sgml/ref/create_domain.sgml,v 1.20
2005/01/04 00:39:53 tgl
Exp $
+$PostgreSQL: pgsql/doc/src/sgml/ref/create_domain.sgml,v 1.20
.4.1 2005/05/02 01:56:16 neilc
Exp $
PostgreSQL documentation
-->
@@
-167,8
+167,8
@@
where <replaceable class="PARAMETER">constraint</replaceable> is:
<programlisting>
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 (