mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-01-24 18:55:04 +08:00
Adjust CREATE DOMAIN example for standard_conforming_strings=on.
Noted by Hitoshi Harada.
This commit is contained in:
parent
bd165757f4
commit
6fc726adac
@ -189,8 +189,8 @@ CREATE DOMAIN <replaceable class="parameter">name</replaceable> [ AS ] <replacea
|
||||
<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 (
|
||||
|
Loading…
Reference in New Issue
Block a user