From: Neil Conway Date: Mon, 2 May 2005 01:56:16 +0000 (+0000) Subject: Backport fix for correct quoting in CREATE DOMAIN example. Per Robert X-Git-Tag: REL8_0_3~15 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=323fe836085dd7b124cf2afb4ea6ae282f3b199c;p=thirdparty%2Fpostgresql.git Backport fix for correct quoting in CREATE DOMAIN example. Per Robert Treat. --- diff --git a/doc/src/sgml/ref/create_domain.sgml b/doc/src/sgml/ref/create_domain.sgml index b07f571c793..497d574630d 100644 --- 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 (