Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 768eaf1 commit ae793ffCopy full SHA for ae793ff
doc/src/sgml/ref/create_domain.sgml
@@ -1,5 +1,5 @@
1
<!--
2
-$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.21 2005/05/01 15:57:59 tgl Exp $
3
PostgreSQL documentation
4
-->
5
@@ -167,8 +167,8 @@ where <replaceable class="PARAMETER">constraint</replaceable> is:
167
<programlisting>
168
CREATE DOMAIN us_postal_code AS TEXT
169
CHECK(
170
- VALUE ~ '^\d{5}$'
171
-OR VALUE ~ '^\d{5}-\d{4}$'
+ VALUE ~ '^\\d{5}$'
+OR VALUE ~ '^\\d{5}-\\d{4}$'
172
);
173
174
CREATE TABLE us_snail_addy (
0 commit comments