diff options
author | Etsuro Fujita <efujita@postgresql.org> | 2019-01-17 14:37:33 +0900 |
---|---|---|
committer | Etsuro Fujita <efujita@postgresql.org> | 2019-01-17 14:37:33 +0900 |
commit | 6c61d7c5935793e218d2335ac540a2cea7eacdce (patch) | |
tree | 8cb7a34beea8b6f98bea36755f54dc949e9ca33a /src/backend/access/gist | |
parent | d723f56872a9fd1b898b7ee29ca5d26a9e538058 (diff) | |
download | postgresql-6c61d7c5935793e218d2335ac540a2cea7eacdce.tar.gz postgresql-6c61d7c5935793e218d2335ac540a2cea7eacdce.zip |
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
Diffstat (limited to 'src/backend/access/gist')
0 files changed, 0 insertions, 0 deletions