Re: FDW system columns

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: FDW system columns
Дата
Msg-id 22453.1321144690@sss.pgh.pa.us
обсуждение исходный текст
Ответ на FDW system columns  (Thom Brown <thom@linux.com>)
Ответы Re: FDW system columns  (Thom Brown <thom@linux.com>)
Re: FDW system columns  (Florian Pflug <fgp@phlo.org>)
Список pgsql-hackers
Thom Brown <thom@linux.com> writes:
> So the ctid is always 2^32-1.  Bit weird, but probably explainable.

See ItemPointerSetInvalid.

> But xmin on the file_fdw result is odd.  Why are these all over the
> place?

heap_form_tuple initializes the t_choice fields as though for a tuple
Datum, and file_fdw doesn't change it.

Just a couple hours ago I was wondering why we create system columns for
foreign tables at all.  Is there a reasonable prospect that they'll ever
be useful?  I can see potential value in tableoid, but the others seem
pretty dubious --- even if you were fetching from a remote PG server,
the XIDs would not be meaningful within our own environment.
        regards, tom lane


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

Предыдущее
От: Thom Brown
Дата:
Сообщение: FDW system columns
Следующее
От: Thom Brown
Дата:
Сообщение: Re: FDW system columns