Re: [PATCH] Add pg_get_tablespace_ddl() function to reconstruct CREATE TABLESPACE statement

Nishant Sharma <nishant.sharma@enterprisedb.com>

From: Nishant Sharma <nishant.sharma@enterprisedb.com>
To: Manni Wood <manni.wood@enterprisedb.com>
Cc: Jim Jones <jim.jones@uni-muenster.de>, Chao Li <li.evan.chao@gmail.com>, Álvaro Herrera <alvherre@kurilemu.de>, pgsql-hackers@postgresql.org
Date: 2025-11-26T06:05:04Z
Lists: pgsql-hackers

Commits

Same data as JSON: GET /api/v1/messages/:b64id/commits the thread's linked commits as JSON, with link sources. API reference →
  1. Add infrastructure for pg_get_*_ddl functions

  2. Add pg_get_tablespace_ddl() function

  3. Split out innards of pg_tablespace_location()

  4. Remove spclocation field from pg_tablespace

Thanks Manni for the v14 patch!

Thanks all for the review comments!

I think we are in position to move to 'Ready for Committer'
status.
CFBot is all green for v14:
https://commitfest.postgresql.org/patch/6175/


Hi Andrew,

We are moving this thread to 'Ready for Committer' for your
reviews and finalisation of the patch. Thanks!


Regards,
Nishant Sharma.
EDB, Pune.
https://www.enterprisedb.com/

>