Re: [v9.3] writable foreign tables

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: [v9.3] writable foreign tables
Дата
Msg-id CA+TgmoYStMSvn1HWL85ZKvFbObDLBLktuU4EekWu_vUqzM5uXw@mail.gmail.com
обсуждение исходный текст
Ответ на [v9.3] writable foreign tables  (Kohei KaiGai <kaigai@kaigai.gr.jp>)
Ответы Re: [v9.3] writable foreign tables
Список pgsql-hackers
On Thu, Aug 23, 2012 at 1:10 AM, Kohei KaiGai <kaigai@kaigai.gr.jp> wrote:
> It is a responsibility of FDW extension (and DBA) to ensure each
> foreign-row has a unique identifier that has 48-bits width integer
> data type in maximum.

It strikes me as incredibly short-sighted to decide that the row
identifier has to have the same format as what our existing heap AM
happens to have.  I think we need to allow the row identifier to be of
any data type, and even compound.  For example, the foreign side might
have no equivalent of CTID, and thus use primary key.  And the primary
key might consist of an integer and a string, or some such.

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



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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: TRUE/FALSE vs true/false
Следующее
От: Robert Haas
Дата:
Сообщение: Re: temporal support patch