diff --git a/doc/src/sgml/release-9.5.sgml b/doc/src/sgml/release-9.5.sgml index 5b0d109..9e857bc 100644 --- a/doc/src/sgml/release-9.5.sgml +++ b/doc/src/sgml/release-9.5.sgml @@ -125,6 +125,34 @@ + + + Foreign data wrappers that support updating foreign tables must + consider the possible presence of an ON CONFLICT DO + NOTHING clause on INSERT statements (Peter + Geoghegan) + + + + When an ON CONFLICT DO NOTHING clause is present, + foreign data wrappers should either perform a + PostgreSQL-analogous action on the + foreign table, or reject the query outright. + + + + PostgreSQL currently lacks support + for unique index inference against foreign tables; the + optimizer will always reject INSERT statements that + attempt ON CONFLICT inference on the basis of the + system having no information about foreign unique + indexes. Since, in general, an inference clause is mandatory + for ON CONFLICT DO UPDATE, the DO UPDATE + variant is in effect not currently supported with foreign + tables. + + +