Re: Retail DDL - Mailing list pgsql-hackers

From Kirill Reshke
Subject Re: Retail DDL
Date
Msg-id CALdSSPh4aLTkOiBuj7sPydsm3byjBtDnRDycYrjZ5tAmWt=egw@mail.gmail.com
Whole thread Raw
In response to Re: Retail DDL  (Kirill Reshke <reshkekirill@gmail.com>)
Responses Re: Retail DDL
List pgsql-hackers
On Sat, 16 Aug 2025 at 10:08, I wrote:
> On Thu, 14 Aug 2025 at 23:30, Andrew Dunstan <andrew@dunslane.net> wrote:
> > Builtin
> > functions are also likely to be faster.
>
> We are not actually aiming for speed here, aren’t we?

I want to clarify here: I do not think consuming limiter resources of
catalog OID for builtin functions is worth the benefit here.

>
> Overall, Im +1 on `pg_get_{objecttype}_ddl` or  maybe
> `pg_show_{objecttype}_ddl` design.

After putting some more thought into it, maybe we can implement the
whole thing as contrib extension? This would be the most Postgres-y
way to me.


--
Best regards,
Kirill Reshke



pgsql-hackers by date:

Previous
From: Nikhil Kumar Veldanda
Date:
Subject: Re: Dead code with short varlenas in toast_save_datum()
Next
From: Konstantin Knizhnik
Date:
Subject: Re: DSA overflow in hash join