get a relations DDL server-side - Mailing list pgsql-hackers

From Jordan Deitch
Subject get a relations DDL server-side
Date
Msg-id c2ce3040-a6b1-4279-97b4-fcd374ac1c60@www.fastmail.com
Whole thread Raw
Responses Re: get a relations DDL server-side  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
I would like to introduce the ability to get object DDL (server-side) by introducing a new function with roughly the
followingprototype:
 

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_rwwQfV8wP68ewg@mail.gmail.com

I would like to start work on this patch but wanted acceptance on the function signature. 

Thank you!



pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: Shared memory leak on DSM slot exhaustion
Next
From: Robert Haas
Date:
Subject: Re: [Proposal] Global temporary tables