aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/gist/gist.c
diff options
context:
space:
mode:
authorEtsuro Fujita <efujita@postgresql.org>2019-01-17 14:37:33 +0900
committerEtsuro Fujita <efujita@postgresql.org>2019-01-17 14:37:33 +0900
commit6c61d7c5935793e218d2335ac540a2cea7eacdce (patch)
tree8cb7a34beea8b6f98bea36755f54dc949e9ca33a /src/backend/access/gist/gist.c
parentd723f56872a9fd1b898b7ee29ca5d26a9e538058 (diff)
downloadpostgresql-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/gist.c')
0 files changed, 0 insertions, 0 deletions