Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commite28a271

Browse files
committed
doc: mention of postpostgres_fdw INSERT ON CONFLICT limitation
Reported-by: Fujii MasaoDiscussion:https://postgr.es/m/47801526-d017-4c89-9f52-c02c449a139b@oss.nttdata.comAuthor: Fujii MasaoBackpatch-through: master
1 parentcf3bb26 commite28a271

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

‎doc/src/sgml/postgres-fdw.sgml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1096,7 +1096,10 @@ postgres=# SELECT postgres_fdw_disconnect_all();
10961096
<para>
10971097
<filename>postgres_fdw</filename> can be used with remote servers dating back
10981098
to <productname>PostgreSQL</productname> 8.3. Read-only capability is available
1099-
back to 8.1. A limitation however is that <filename>postgres_fdw</filename>
1099+
back to 8.1.
1100+
</para>
1101+
<para>
1102+
A limitation however is that <filename>postgres_fdw</filename>
11001103
generally assumes that immutable built-in functions and operators are
11011104
safe to send to the remote server for execution, if they appear in a
11021105
<literal>WHERE</literal> clause for a foreign table. Thus, a built-in
@@ -1108,6 +1111,13 @@ postgres=# SELECT postgres_fdw_disconnect_all();
11081111
optimization fence, and placing the problematic function or operator
11091112
outside the sub-<literal>SELECT</literal>.
11101113
</para>
1114+
<para>
1115+
Another limitation is that when executing <command>INSERT</command>
1116+
statements with an <literal>ON CONFLICT DO NOTHING</literal> clause on
1117+
a foreign table, the remote server must be running
1118+
<productname>PostgreSQL</productname> 9.5 or later,
1119+
as earlier versions do not support this feature.
1120+
</para>
11111121
</sect2>
11121122

11131123
<sect2 id="postgres-fdw-wait-events">

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp