aboutsummaryrefslogtreecommitdiff
path: root/contrib/postgres_fdw
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2017-04-24 11:15:15 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2017-04-24 11:15:15 -0400
commit4b34624daadd9837cd65f20419f832b295c67ecb (patch)
tree86bc4f7a24f0d3a034b86153f1373230b17696aa /contrib/postgres_fdw
parentb182a4ae2f9a542f7bab082c460f1250ca8a0aef (diff)
downloadpostgresql-4b34624daadd9837cd65f20419f832b295c67ecb.tar.gz
postgresql-4b34624daadd9837cd65f20419f832b295c67ecb.zip
Code review for commands/statscmds.c.
Fix machine-dependent sorting of column numbers. (Odd behavior would only materialize for column numbers above 255, but that's certainly legal.) Fix poor choice of SQLSTATE for some errors, and improve error message wording. (Notably, "is not a scalar type" is a totally misleading way to explain "does not have a default btree opclass".) Avoid taking AccessExclusiveLock on the associated relation during DROP STATISTICS. That's neither necessary nor desirable, and it could easily have put us into situations where DROP fails (compare commit 68ea2b7f9). Adjust/improve comments. David Rowley and Tom Lane Discussion: https://postgr.es/m/CAKJS1f-GmCfPvBbAEaM5xoVOaYdVgVN1gicALSoYQ77z-+vLbw@mail.gmail.com
Diffstat (limited to 'contrib/postgres_fdw')
0 files changed, 0 insertions, 0 deletions