aboutsummaryrefslogtreecommitdiff
path: root/contrib/postgres_fdw/postgres_fdw.c
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2018-08-29 16:45:32 +0200
committerPeter Eisentraut <peter_e@gmx.net>2018-08-30 18:09:44 +0200
commitdaa9fe8a5264a3f192efa5ddee8fb011ad9da365 (patch)
tree3552da62a4cff070eacea807ce282d36ec09e7a0 /contrib/postgres_fdw/postgres_fdw.c
parenta846e6d0239d24fe9a95c7b12e1905e20f8fdcf0 (diff)
downloadpostgresql-daa9fe8a5264a3f192efa5ddee8fb011ad9da365.tar.gz
postgresql-daa9fe8a5264a3f192efa5ddee8fb011ad9da365.zip
pg_dump: Reorganize getTableAttrs()
Instead of repeating the almost same large query in each version branch, use one query and add a few columns to the SELECT list depending on the version. This saves a lot of duplication. Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us>
Diffstat (limited to 'contrib/postgres_fdw/postgres_fdw.c')
0 files changed, 0 insertions, 0 deletions