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.
Álvaro Herrera <alvherre(at)commandprompt(dot)com>
The PostgreSQL Company - Command Prompt, Inc.
PostgreSQL Replication, Consulting, Custom Development, 24x7 support
In response to
pgsql-hackers by date
|Next:||From: Brar Piening||Date: 2011-01-03 15:45:16|
|Subject: Re: Visual Studio 2010/Windows SDK 7.1 support|
|Previous:||From: Magnus Hagander||Date: 2011-01-03 15:42:35|
|Subject: Re: Scanning pg_tablespace from walsender|