Re: FDW system columns

Поиск
Список
Период
Сортировка
От Thom Brown
Тема Re: FDW system columns
Дата
Msg-id CAA-aLv7caZehrBBOwEFSoKEFZJZEW1B7C5ggQc7_BFt_PpBOrg@mail.gmail.com
обсуждение исходный текст
Ответ на Re: FDW system columns  (Thom Brown <thom@linux.com>)
Ответы Re: FDW system columns  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-hackers
On 14 November 2011 13:07, Thom Brown <thom@linux.com> wrote:
> 2011/11/14 Shigeru Hanada <shigeru.hanada@gmail.com>
>>
>> (2011/11/14 11:25), Robert Haas wrote:
>> > My vote is to nuke 'em all.  :-)
>>
>> +1.
>>
>> IIRC, main purpose of supporting tableoid for foreign tables was to be
>> basis of foreign table inheritance, which was not included in 9.1, and
>> we have not supported it yet.  Other system columns are essentially
>> garbage, but they survived at 9.1 development because (maybe) it seemed
>> little odd to have system columns partially at that time.
>>
>> So, IMHO removing all system columns from foreign tables seems
>> reasonable, unless it doesn't break any external tool seriously (Perhaps
>> there would be few tools which assume that foreign tables have system
>> columns).
>>
>> If there seems to be a consensus on removing system column from foreign
>> tables, I'd like to work on this issue.  Attached is a halfway patch,
>> and ISTM there is no problem so far.
>
>
> I can say that at least PgAdmin doesn't use these columns.

So we still have all of these columns for foreign tables.  I've tested
Hanada-san's patch and it removes all of the system columns.  Could we
consider applying it, or has a use-case for them since been
discovered?

--
Thom


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Jeff Janes
Дата:
Сообщение: Re: Scaling XLog insertion (was Re: Moving more work outside WALInsertLock)
Следующее
От: Jeff Janes
Дата:
Сообщение: Re: Memory usage during sorting