postgresql/contrib/postgres_fdw
Etsuro Fujita 6c61d7c593 postgres_fdw: Remove duplicate code in DML execution callback functions.
postgresExecForeignInsert(), postgresExecForeignUpdate(), and
postgresExecForeignDelete() are coded almost identically, except that
postgresExecForeignInsert() does not need CTID.  Extract that code into
a separate function and use it in all the three function implementations.

Author: Ashutosh Bapat
Reviewed-By: Michael Paquier
Discussion: https://postgr.es/m/CAFjFpRcz8yoY7cBTYofcrCLwjaDeCcGKyTUivUbRiA57y3v-bw%40mail.gmail.com
2019-01-17 14:37:33 +09:00
..
expected Disable WAL-skipping optimization for COPY on views and foreign tables 2018-12-23 16:42:22 +09:00
sql Disable WAL-skipping optimization for COPY on views and foreign tables 2018-12-23 16:42:22 +09:00
.gitignore Add postgres_fdw contrib module. 2013-02-21 05:27:16 -05:00
connection.c Update copyright for 2019 2019-01-02 12:44:25 -05:00
deparse.c Update copyright for 2019 2019-01-02 12:44:25 -05:00
Makefile Prevent accidental linking of system-supplied copies of libpq.so etc. 2018-04-03 16:26:05 -04:00
option.c Update copyright for 2019 2019-01-02 12:44:25 -05:00
postgres_fdw--1.0.sql Add postgres_fdw contrib module. 2013-02-21 05:27:16 -05:00
postgres_fdw.c postgres_fdw: Remove duplicate code in DML execution callback functions. 2019-01-17 14:37:33 +09:00
postgres_fdw.control Add postgres_fdw contrib module. 2013-02-21 05:27:16 -05:00
postgres_fdw.h Update copyright for 2019 2019-01-02 12:44:25 -05:00
shippable.c Update copyright for 2019 2019-01-02 12:44:25 -05:00