I would like to introduce the ability to get object DDL (server-side) by introducing a new function with roughly the following prototype:
get_ddl(regclass) RETURNS text LANGUAGE C STRICT PARALLEL SAFE; A previous conversation seemed to encourage the development of this feature https://www.postgresql.org/message-id/CADkLM=fxfsrhaskk_by_a4uomj1te5mfggd_rwwqfv8wp68...@mail.gmail.com I would like to start work on this patch but wanted acceptance on the function signature. Thank you!