aboutsummaryrefslogtreecommitdiff
path: root/src/fe_utils/string_utils.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2016-05-11 17:06:53 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2016-05-11 17:06:53 -0400
commit8a13d5e6d1bb9ff9460c72992657077e57e30c32 (patch)
tree308abc7b6a332002846001a25736c0468fe31cb8 /src/fe_utils/string_utils.c
parent26e66184d6136643d16f6fb167db517fb18b8f89 (diff)
downloadpostgresql-8a13d5e6d1bb9ff9460c72992657077e57e30c32.tar.gz
postgresql-8a13d5e6d1bb9ff9460c72992657077e57e30c32.zip
Fix infer_arbiter_indexes() to not barf on system columns.
While it could be argued that rejecting system column mentions in the ON CONFLICT list is an unsupported feature, falling over altogether just because the table has a unique index on OID is indubitably a bug. As far as I can tell, fixing infer_arbiter_indexes() is sufficient to make ON CONFLICT (oid) actually work, though making a regression test for that case is problematic because of the impossibility of setting the OID counter to a known value. Minor cosmetic cleanups along with the bug fix.
Diffstat (limited to 'src/fe_utils/string_utils.c')
0 files changed, 0 insertions, 0 deletions