Re: CREATE SCHEMA ... CREATE DOMAIN support

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: jian he <jian(dot)universality(at)gmail(dot)com>
Cc: Kirill Reshke <reshkekirill(at)gmail(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: CREATE SCHEMA ... CREATE DOMAIN support
Date: 2024-11-27 03:47:24
Message-ID: 1773978.1732679244@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

jian he <jian(dot)universality(at)gmail(dot)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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Alexander Korotkov 2024-11-27 04:08:51 Implement waiting for wal lsn replay: reloaded
Previous Message jian he 2024-11-27 03:42:12 Re: CREATE SCHEMA ... CREATE DOMAIN support