mirror of
https://github.com/postgres/postgres.git
synced 2025-06-08 22:02:03 +03:00
Adjust CREATE DOMAIN example for standard_conforming_strings=on.
Noted by Hitoshi Harada.
This commit is contained in:
parent
ac45828e99
commit
eb11a37ed8
@ -189,8 +189,8 @@ CREATE DOMAIN <replaceable class="parameter">name</replaceable> [ AS ] <replacea
|
|||||||
<programlisting>
|
<programlisting>
|
||||||
CREATE DOMAIN us_postal_code AS TEXT
|
CREATE DOMAIN us_postal_code AS TEXT
|
||||||
CHECK(
|
CHECK(
|
||||||
VALUE ~ '^\\d{5}$'
|
VALUE ~ '^\d{5}$'
|
||||||
OR VALUE ~ '^\\d{5}-\\d{4}$'
|
OR VALUE ~ '^\d{5}-\d{4}$'
|
||||||
);
|
);
|
||||||
|
|
||||||
CREATE TABLE us_snail_addy (
|
CREATE TABLE us_snail_addy (
|
||||||
|
Loading…
x
Reference in New Issue
Block a user