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

From Nathan Bossart
Subject Re: CREATE SCHEMA ... CREATE DOMAIN support
Date
Msg-id aqGGiZfONuhkd25F@nathan
Whole thread
In response to Re: CREATE SCHEMA ... CREATE DOMAIN support  (Heikki Linnakangas <hlinnaka@iki.fi>)
Responses Re: postgres_fdw: Use COPY to speed up batch inserts
List pgsql-hackers
On Wed, Sep 09, 2026 at 06:53:58PM +0300, Heikki Linnakangas wrote:
> On 04/09/2026 22:30, Tom Lane wrote:
>> Well, you have a point.  There's pretty nearly nothing that's
>> well-designed about CREATE SCHEMA subcommands: as you say, the syntax
>> is shaky, and the namespace visible to subcommands is unclear, and
>> the whole business of re-ordering subcommands is debatable, and even
>> if all those things were fixed the benefit of the entire feature is
>> marginal.  So maybe we should just say that our legacy implementation
>> is what it is and we will mark it deprecated rather than putting any
>> effort into improving it.  I'd like to see more than one vote in favor
>> of that before I do it, though.
> 
> Reverting seems like the safest thing to do. This is a really niche thing,
> but whatever behavior we pick, we'll be stuck with it for a long time. If
> we're not 100% certain about the new behavior, better to take a step back
> and discuss and design it with more time.

+1

-- 
nathan



Attachment

pgsql-hackers by date:

Previous
From: Heikki Linnakangas
Date:
Subject: Re: CREATE SCHEMA ... CREATE DOMAIN support
Next
From: Bharath Rupireddy
Date:
Subject: Re: Support for 8-byte TOAST values, round two