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

Jim Jones <jim.jones@uni-muenster.de>

From: Jim Jones <jim.jones@uni-muenster.de>
To: Manni Wood <manni.wood@enterprisedb.com>
Cc: Nishant Sharma <nishant.sharma@enterprisedb.com>, Álvaro Herrera <alvherre@kurilemu.de>, pgsql-hackers@postgresql.org
Date: 2025-11-08T16:30:57Z
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


On 08/11/2025 15:05, Manni Wood wrote:
> Apologies for the noise. Just wanted to confirm that I did a fresh clone
> of github.com/postgres/postgres <http://github.com/postgres/postgres> on
> my linux machine, applied both v9 patches to master, ran 
> "configure", "make world", "make check-world", and everything passed.


Perhaps a missing entry at src/backend/catalog/meson.build for
pg_tablespace.c? You probably don't see the error in your environment
because you're not building with meson.

Best, Jim