Re: Writable foreign tables: how to identify rows
От
Merlin Moncure
Тема
Re: Writable foreign tables: how to identify rows
Дата
Msg-id
CAHyXU0wjR7Nepdm8WVMLfNLPf3d1Z5SACqEbHcsCqP82vx2Jpw@mail.gmail.com
Ответ на
Список
Дерево обсуждения
Writable foreign tables: how to identify rows Tom Lane <tgl@sss.pgh.pa.us>
Re: Writable foreign tables: how to identify rows Andres Freund <andres@2ndquadrant.com>
Re: Writable foreign tables: how to identify rows Josh Berkus <josh@agliodbs.com>
Re: Writable foreign tables: how to identify rows Pavan Deolasee <pavan.deolasee@gmail.com>
Re: Writable foreign tables: how to identify rows Michael Paquier <michael.paquier@gmail.com>
Re: Writable foreign tables: how to identify rows Shigeru Hanada <shigeru.hanada@gmail.com>
Re: Writable foreign tables: how to identify rows Pavan Deolasee <pavan.deolasee@gmail.com>
Re: Writable foreign tables: how to identify rows Kohei KaiGai <kaigai@kaigai.gr.jp>
Re: Writable foreign tables: how to identify rows Tom Lane <tgl@sss.pgh.pa.us>
Re: Writable foreign tables: how to identify rows Kohei KaiGai <kaigai@kaigai.gr.jp>
Re: Writable foreign tables: how to identify rows Shigeru Hanada <shigeru.hanada@gmail.com>
Re: Writable foreign tables: how to identify rows Tom Lane <tgl@sss.pgh.pa.us>
Re: Writable foreign tables: how to identify rows Robert Haas <robertmhaas@gmail.com>
Re: Writable foreign tables: how to identify rows Tom Lane <tgl@sss.pgh.pa.us>
Re: Writable foreign tables: how to identify rows Merlin Moncure <mmoncure@gmail.com>
Re: Writable foreign tables: how to identify rows Tom Lane <tgl@sss.pgh.pa.us>
Re: Writable foreign tables: how to identify rows Merlin Moncure <mmoncure@gmail.com>
Re: Writable foreign tables: how to identify rows Andres Freund <andres@2ndquadrant.com>
Re: Writable foreign tables: how to identify rows Tom Lane <tgl@sss.pgh.pa.us>
Re: Writable foreign tables: how to identify rows Merlin Moncure <mmoncure@gmail.com>
Re: Writable foreign tables: how to identify rows Tom Lane <tgl@sss.pgh.pa.us>
Re: Writable foreign tables: how to identify rows Tom Lane <tgl@sss.pgh.pa.us>
On Wed, Mar 6, 2013 at 11:06 AM, Tom Lane wrote: > Shigeru Hanada writes: >> I'm not sure whether postgres_fdw should support, but updatable views >> have no system column including ctid. So, we need magic identifier, >> perhaps it would be set of primary key value(s), to support updating >> remote updatable views via foreign tables. > > Yeah, I considered that. I thought seriously about proposing that we > forget magic row identifiers altogether, and instead make postgres_fdw > require a remote primary key for a foreign table to be updatable. IMO, Utilizing anything but this for remote record identification is an implementation specific optimization. Aren't the semantics different though? If you go: update foo set id = 1 where id = 1; the primary key would not change, but the ctid would. or is that already a handled? merlin
В списке pgsql-hackers по дате отправления
От: Amit Kapila
Дата: