Re: BUG #2274: Error in 'CREATE DOMAIN' SQL command in dump file - Mailing list pgsql-bugs

From Tom Lane
Subject Re: BUG #2274: Error in 'CREATE DOMAIN' SQL command in dump file
Date
Msg-id 29527.1140477344@sss.pgh.pa.us
Whole thread Raw
In response to BUG #2274: Error in 'CREATE DOMAIN' SQL command in dump file  ("Alexander Galler" <galler@kuzbass.net>)
List pgsql-bugs
"Alexander Galler" <galler@kuzbass.net> writes:
> psql:test.dump:415: ERROR:  type "tsinterval" does not exist

> In dump file:
> CREATE DOMAIN address_period_tsi
>   AS public.tsinterval
>   NOT NULL
>   DEFAULT '(-infinity..infinity)'::tsinterval;

I can't duplicate this --- for me, pg_dump produces

CREATE DOMAIN address_period_tsi AS public.tsinterval NOT NULL DEFAULT '(-infinity..infinity)'::public.tsinterval;

which reloads just fine.  Could you provide a more complete example?

            regards, tom lane

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: BUG #2261: ILIKE seems to be buggy on koi8 input
Next
From: Richard Huxton
Date:
Subject: Re: BUG #2272: stop