Re: Scanning pg_tablespace from walsender - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: Scanning pg_tablespace from walsender
Date
Msg-id 1294069370-sup-3249@alvh.no-ip.org
Whole thread Raw
In response to Scanning pg_tablespace from walsender  (Magnus Hagander <magnus@hagander.net>)
List pgsql-hackers
Excerpts from Magnus Hagander's message of lun ene 03 12:25:28 -0300 2011:

> Can someone throw me a pointer or two on how to actually do that? :-)
> Am I correct in assuming I need to add it to
> RelationCacheInitializePhase2(), and to do that, need to figure out
> how to define a TableSpaceRelation_Rowtype_Id in the headers? Or is
> there an easier way I'm missing?

I think you just need to add BKI_ROWTYPE_OID and BKI_SCHEMA_MACRO to
pg_tablespace.h (yes, and pick a suitable OID for the rowtype).  Then
figure out formrdesc.

HTH

-- 
Álvaro Herrera <alvherre@commandprompt.com>
The PostgreSQL Company - Command Prompt, Inc.
PostgreSQL Replication, Consulting, Custom Development, 24x7 support


pgsql-hackers by date:

Previous
From: Magnus Hagander
Date:
Subject: Re: Scanning pg_tablespace from walsender
Next
From: Brar Piening
Date:
Subject: Re: Visual Studio 2010/Windows SDK 7.1 support