mirror of
https://github.com/postgres/postgres.git
synced 2025-07-27 12:41:57 +03:00
Support writable foreign tables.
This patch adds the core-system infrastructure needed to support updates on foreign tables, and extends contrib/postgres_fdw to allow updates against remote Postgres servers. There's still a great deal of room for improvement in optimization of remote updates, but at least there's basic functionality there now. KaiGai Kohei, reviewed by Alexander Korotkov and Laurenz Albe, and rather heavily revised by Tom Lane.
This commit is contained in:
@ -117,9 +117,10 @@ CREATE FOREIGN DATA WRAPPER <replaceable class="parameter">name</replaceable>
|
||||
<title>Notes</title>
|
||||
|
||||
<para>
|
||||
At the moment, the foreign-data wrapper functionality is rudimentary.
|
||||
There is no support for updating a foreign table, and optimization of
|
||||
queries is primitive (and mostly left to the wrapper, too).
|
||||
<productname>PostgreSQL</>'s foreign-data functionality is still under
|
||||
active development. Optimization of queries is primitive (and mostly left
|
||||
to the wrapper, too). Thus, there is considerable room for future
|
||||
performance improvements.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
@ -158,7 +159,7 @@ CREATE FOREIGN DATA WRAPPER mywrapper
|
||||
9075-9 (SQL/MED), with the exception that the <literal>HANDLER</literal>
|
||||
and <literal>VALIDATOR</literal> clauses are extensions and the standard
|
||||
clauses <literal>LIBRARY</literal> and <literal>LANGUAGE</literal>
|
||||
are not implemented in PostgreSQL.
|
||||
are not implemented in <productname>PostgreSQL</>.
|
||||
</para>
|
||||
|
||||
<para>
|
||||
@ -175,6 +176,7 @@ CREATE FOREIGN DATA WRAPPER mywrapper
|
||||
<member><xref linkend="sql-dropforeigndatawrapper"></member>
|
||||
<member><xref linkend="sql-createserver"></member>
|
||||
<member><xref linkend="sql-createusermapping"></member>
|
||||
<member><xref linkend="sql-createforeigntable"></member>
|
||||
</simplelist>
|
||||
</refsect1>
|
||||
|
||||
|
Reference in New Issue
Block a user