Re: CHECK constraint (true) causes dumps with parse errors - Mailing list pgsql-bugs

From Neil Conway
Subject Re: CHECK constraint (true) causes dumps with parse errors
Date
Msg-id 428D9E3D.8000204@samurai.com
Whole thread Raw
In response to CHECK constraint (true) causes dumps with parse errors  (Szűcs Gábor <surrano@gmail.com>)
Responses Re: CHECK constraint (true) causes dumps with parse errors  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-bugs
Szűcs Gábor wrote:
> # create table foo (bar int, constraint foobar check (true));
> CREATE TABLE
> # \d foo
>       Table "public.foo"
>  Column |  Type   | Modifiers
> --------+---------+-----------
>  bar    | integer |
> Check constraints:
>     "foobar" CHECK ()

Yeah, I can repro this with current REL7_4_STABLE sources, but it looks
fixed in HEAD and REL8_0_STABLE.

-Neil

pgsql-bugs by date:

Previous
From: Szűcs Gábor
Date:
Subject: CHECK constraint (true) causes dumps with parse errors
Next
From: Olleg Samoylov
Date:
Subject: Re: BUG #1676: Statment order in rules