From: | Bruno Wolff III <bruno(at)wolff(dot)to> |
---|---|
To: | Rod Taylor <rbt(at)rbt(dot)ca> |
Cc: | PostgreSQL Development <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: domain check constraint syntax problem for 7.4 |
Date: | 2003-01-26 05:17:30 |
Message-ID: | 20030126051730.GA12291@wolff.to |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers pgsql-patches |
On Sun, Jan 26, 2003 at 00:01:04 -0500,
Rod Taylor <rbt(at)rbt(dot)ca> wrote:
> They work the same as table constraints with in-line declaration (no
> comma).
OK. But the documentation implies there is a comma, so it should probably
get chenged then.
This is from the create domain documentation:
CREATE DOMAIN domainname [AS] data_type
[ DEFAULT default_expr ]
[ constraint [, ... ] ]
I would have expected the last line to be:
[ constraint [ ... ] ]
if there weren't supposed to be commas.
Thanks for the help.
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 2003-01-26 05:27:44 | Re: Can we revisit the thought of PostgreSQL 7.2.4? |
Previous Message | Tom Lane | 2003-01-26 05:11:00 | Re: Can we revisit the thought of PostgreSQL 7.2.4? |
From | Date | Subject | |
---|---|---|---|
Next Message | Bruno Wolff III | 2003-01-26 05:43:50 | Earthdistance update for 7.4 - depends on recent cube patches |
Previous Message | Bruno Wolff III | 2003-01-26 05:09:21 | domain check constraint syntax problem for 7.4 |