Re: Implementing IF NOT EXISTS clause for all CREATE TYPE variants - Mailing list pgsql-hackers

From David G. Johnston
Subject Re: Implementing IF NOT EXISTS clause for all CREATE TYPE variants
Date
Msg-id CAKFQuwbmtY41Pj1WvF_JYFeUQDKfo7op6ijY5R2tJgw5ppPHGg@mail.gmail.com
Whole thread Raw
In response to Implementing IF NOT EXISTS clause for all CREATE TYPE variants  (Bram Hagens <bram@bramh.me>)
List pgsql-hackers
On Sun, Oct 12, 2025 at 1:45 PM Bram Hagens <bram@bramh.me> wrote:
I don't see an immediate reason why this has not been implemented, and
also did
not find anything on the mailing list archives. I would like to try my
hand at
implementing this. As this would be my first contribution, I would like to
discuss what changes would have to be made.

The following thread provides some history relevant to this kind of patch:


I tend to fall into the camp of allowing these tools and expecting users to utilize them properly.

David J.

pgsql-hackers by date:

Previous
From: Bram Hagens
Date:
Subject: Implementing IF NOT EXISTS clause for all CREATE TYPE variants
Next
From: Alexander Lakhin
Date:
Subject: Re: Potential deadlock in pgaio_io_wait()