Re: FDW system columns

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: FDW system columns
Дата
Msg-id CA+Tgmoa_TsU0_aNP2NJ3JMVuMa6ay15gYF5bz+KrZDKkK45RjA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: FDW system columns  (Shigeru Hanada <shigeru.hanada@gmail.com>)
Ответы Re: FDW system columns  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Tue, Feb 28, 2012 at 7:00 AM, Shigeru Hanada
<shigeru.hanada@gmail.com> wrote:
> We have three options:
>
> a) remove all system columns (posted patch)
> b) remove system columns other than tableoid
> c) leave all system columns as is (current 9.2dev)
>
> Incidentally, views, which is very similar object type to foreign
> tables, have no system columns.
>
> Thoughts?

I vote against (c).  I'm not sure which of (a) or (b) is better.
We've talked about allowing foreign tables to inherit from regular
tables and visca versa, and certainly, in that situation, tableoid
would be useful.  But I don't think we've made a definitive decision
about that.  I stripped that functionality out of the original patch
because it introduced a bunch of warts that we didn't have time to
figure out how to fix, and it's not clear to me that anyone's spent
any time thinking about that since then.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


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

Предыдущее
От: Thom Brown
Дата:
Сообщение: Re: Command Triggers, patch v11
Следующее
От: Kohei KaiGai
Дата:
Сообщение: Re: FDW system columns