Re: CREATE SCHEMA ... CREATE DOMAIN support - Mailing list pgsql-hackers

From Tom Lane
Subject Re: CREATE SCHEMA ... CREATE DOMAIN support
Date
Msg-id 1773978.1732679244@sss.pgh.pa.us
Whole thread Raw
List pgsql-hackers
jian he <jian.universality@gmail.com> writes:
> one issue i still have is:
> CREATE SCHEMA regress_schema_2 AUTHORIZATION CURRENT_ROLE
>   create domain ss1 as ss
>   create domain ss as text;
> ERROR:  type "ss" does not exist
> the error message seems not that OK,
> if we can point out the error position, that would be great.

That doesn't happen in the base case either:

regression=# create domain ss1 as ss;
ERROR:  type "ss" does not exist

I doubt that fixing it should be part of this patch.

            regards, tom lane



pgsql-hackers by date:

Previous
From: Amit Kapila
Date:
Subject: Re: Improve the error message for logical replication of regular column to generated column.
Next
From: Dilip Kumar
Date:
Subject: Question about read_stream_look_ahead()