From: Robert Haas Date: Thu, 25 Aug 2011 13:35:38 +0000 (-0400) Subject: Adjust CREATE DOMAIN example for standard_conforming_strings=on. X-Git-Tag: REL9_2_BETA1~1234 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6fc726adac3001f8e1f3215ad4c874f58cd7f445;p=postgresql Adjust CREATE DOMAIN example for standard_conforming_strings=on. Noted by Hitoshi Harada. --- diff --git a/doc/src/sgml/ref/create_domain.sgml b/doc/src/sgml/ref/create_domain.sgml index 2c8b1f4e74..0f901d78ee 100644 --- a/doc/src/sgml/ref/create_domain.sgml +++ b/doc/src/sgml/ref/create_domain.sgml @@ -189,8 +189,8 @@ CREATE DOMAIN name [ AS ] 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 (