aboutsummaryrefslogtreecommitdiff
path: root/src/backend/storage/file/buffile.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2018-11-14 16:39:59 -0500
committerTom Lane <tgl@sss.pgh.pa.us>2018-11-14 16:39:59 -0500
commiteaf746a5b85a6a794e659f0954cf0015e42213f4 (patch)
treee7898d3c7592a33739d1c99b40979f5bdded7af7 /src/backend/storage/file/buffile.c
parent51eaaafb850bc6d450cf2f63c0952078255ac4ca (diff)
downloadpostgresql-eaf746a5b85a6a794e659f0954cf0015e42213f4.tar.gz
postgresql-eaf746a5b85a6a794e659f0954cf0015e42213f4.zip
Make psql's "\pset format" command reject non-unique abbreviations.
The previous behavior of preferring the oldest match had the advantage of not breaking existing scripts when we add a conflicting format name; but that behavior was undocumented and fragile (it seems just luck that commit add9182e5 didn't break it). Let's go over to the less mistake- prone approach of complaining when there are multiple matches. Since this is a small compatibility break, no back-patch. Daniel Vérité Discussion: https://postgr.es/m/cb7e1caf-3ea6-450d-af28-f524903a030c@manitou-mail.org
Diffstat (limited to 'src/backend/storage/file/buffile.c')
0 files changed, 0 insertions, 0 deletions