Re: 9.5 release notes may need ON CONFLICT DO NOTHING compatibility notice for FDW authors - Mailing list pgsql-hackers

From Peter Geoghegan
Subject Re: 9.5 release notes may need ON CONFLICT DO NOTHING compatibility notice for FDW authors
Date
Msg-id CAM3SWZT_rRKwviYwZCqEkQgX9My4Ex++31kJ1BjCjnE54EdavA@mail.gmail.com
Whole thread Raw
In response to Re: 9.5 release notes may need ON CONFLICT DO NOTHING compatibility notice for FDW authors  (Peter Geoghegan <pg@heroku.com>)
List pgsql-hackers
On Sun, May 24, 2015 at 5:16 PM, Peter Geoghegan <pg@heroku.com> wrote:
> 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.

Attached patch clears this up within the fdw-handler documentation. I
think it's worth separately noting from the existing commentary on
limitations with FDWs and ON CONFLICT.

--
Peter Geoghegan

Attachment

pgsql-hackers by date:

Previous
From: Peter Geoghegan
Date:
Subject: Re: 9.5 release notes may need ON CONFLICT DO NOTHING compatibility notice for FDW authors
Next
From: Andrew Dunstan
Date:
Subject: Re: problems on Solaris