aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/gist/gistsplit.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2018-04-18 18:17:02 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2018-04-18 18:17:02 -0400
commit5372c2c84135be99e8df921ff228df6e7b4d3c8d (patch)
tree736e2ab241a5ec7e2e52253cfe8da0d70a02f72e /src/backend/access/gist/gistsplit.c
parent1dec82068b3b59b621e6b04040c150241f5060f3 (diff)
downloadpostgresql-5372c2c84135be99e8df921ff228df6e7b4d3c8d.tar.gz
postgresql-5372c2c84135be99e8df921ff228df6e7b4d3c8d.zip
Improve error detection/reporting in Catalog.pm and genbki.pl.
Clean up error messages relating to mistakes in .dat files: make sure they provide the .dat file name and line number, not the place in the Perl script that's reporting the problem. Adopt more uniform message phrasing, too. Make genbki.pl spit up on unrecognized field names in the input hashes. Previously, it just silently ignored such fields, which could make a misspelled field name into a very hard-to-decipher problem. (This is in genbki.pl, *not* Catalog.pm, because we don't want reformat_dat_file.pl to complain about unrecognized fields. We'd rather it silently dropped them, to facilitate removing unwanted fields after a reorganization.)
Diffstat (limited to 'src/backend/access/gist/gistsplit.c')
0 files changed, 0 insertions, 0 deletions