Re: Scanning pg_tablespace from walsender

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: Scanning pg_tablespace from walsender
Дата
Msg-id 1294069370-sup-3249@alvh.no-ip.org
обсуждение исходный текст
Ответ на Scanning pg_tablespace from walsender  (Magnus Hagander <magnus@hagander.net>)
Список 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 по дате отправления:

Предыдущее
От: Magnus Hagander
Дата:
Сообщение: Re: Scanning pg_tablespace from walsender
Следующее
От: Brar Piening
Дата:
Сообщение: Re: Visual Studio 2010/Windows SDK 7.1 support