Re: 9.5 release notes may need ON CONFLICT DO NOTHING compatibility notice for FDW authors
От | Peter Geoghegan |
---|---|
Тема | Re: 9.5 release notes may need ON CONFLICT DO NOTHING compatibility notice for FDW authors |
Дата | |
Msg-id | CAM3SWZSaT1H7SirG79u81fbdDGETDFjL5nyHYkoS6Dy-trmRQA@mail.gmail.com обсуждение исходный текст |
Ответ на | 9.5 release notes may need ON CONFLICT DO NOTHING compatibility notice for FDW authors (Peter Geoghegan <pg@heroku.com>) |
Ответы |
Re: 9.5 release notes may need ON CONFLICT DO NOTHING compatibility
notice for FDW authors
Re: Re: 9.5 release notes may need ON CONFLICT DO NOTHING compatibility notice for FDW authors |
Список | pgsql-hackers |
On Sun, May 24, 2015 at 4:22 PM, Peter Geoghegan <pg@heroku.com> wrote: > As things stand, every other possible ON CONFLICT clause will throw an > error in some way before the FDW is consulted at all, so FDW authors > need not concern themselves with those other cases (unless perhaps we > allow ON CONFLICT DO UPDATE to not require an inference specification > in a last minute behavioral tweak, as suggested by Simon Riggs, making > ON CONFLICT DO UPDATE support by foreign data wrappers a possibility > that must be considered). AddForeignUpdateTargets() actually won't be called with ON CONFLICT DO UPDATE, and so it isn't exactly true that the only obstacle to making FDWs support ON CONFLICT DO UPDATE is around inference of arbiter unique indexes on the foreign side. It's *almost* true, though. -- Peter Geoghegan
В списке pgsql-hackers по дате отправления: