aboutsummaryrefslogtreecommitdiff
path: root/src/backend/commands/dbcommands.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2010-06-15 16:22:45 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2010-06-15 16:22:45 +0000
commit7a1d80b91c5147bf3c8cb6c6ccbfef3deb3dc3c5 (patch)
tree8e1756e4742a39f317c0780dc99075d15950bcd9 /src/backend/commands/dbcommands.c
parentc797279ab7933e15078199fc35bf999a5ab5741f (diff)
downloadpostgresql-7a1d80b91c5147bf3c8cb6c6ccbfef3deb3dc3c5.tar.gz
postgresql-7a1d80b91c5147bf3c8cb6c6ccbfef3deb3dc3c5.zip
Consolidate and improve checking of key-column-attnum arguments for
dblink_build_sql_insert() and related functions. In particular, be sure to reject references to dropped and out-of-range column numbers. The numbers are still interpreted as physical column numbers, though, for backward compatibility. This patch replaces Joe's patch of 2010-02-03, which handled only some aspects of the problem.
Diffstat (limited to 'src/backend/commands/dbcommands.c')
0 files changed, 0 insertions, 0 deletions