Re: CREATE SCHEMA ... CREATE DOMAIN support

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: jian he <jian.universality@gmail.com>
Cc: Kirill Reshke <reshkekirill@gmail.com>, Peter Eisentraut <peter@eisentraut.org>, PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2026-04-05T22:05:41Z
Lists: pgsql-hackers

Attachments

I wrote:
> Here's a revised patchset that I think is pretty close to committable.

The cfbot reminded me that I'd failed to check whether the regression
test outputs are stable across different collations.  Grumble.

Fixed that, and rewrote the changes in create_schema.sgml as I'd been
speculating about earlier.

			regards, tom lane

Commits

  1. Don't try to re-order the subcommands of CREATE SCHEMA.

  2. Execute foreign key constraints in CREATE SCHEMA at the end.

  3. Support more object types within CREATE SCHEMA.