Commit a7eece4
committed
Fix breakage of "\pset format latex".
Commit eaf746a unintentionally made psql's "latex" output format
inaccessible, since not only "latex" but all abbreviations of it
were considered ambiguous against "latex-longtable". Let's go
back to the longstanding behavior that all shortened versions
mean "latex", and you have to write at least "latex-" to get
"latex-longtable". This leaves the only difference from pre-v12
behavior being that "\pset format a" is considered ambiguous.
The fact that the regression tests didn't expose this is pretty bad,
but fixing it is material for a separate commit.
Discussion: https://postgr.es/m/cb7e1caf-3ea6-450d-af28-f524903a030c@manitou-mail.org1 parent 36d442a commit a7eece4
1 file changed
+12
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3698 | 3698 | | |
3699 | 3699 | | |
3700 | 3700 | | |
3701 | | - | |
3702 | 3701 | | |
3703 | 3702 | | |
3704 | 3703 | | |
| |||
3725 | 3724 | | |
3726 | 3725 | | |
3727 | 3726 | | |
3728 | | - | |
| 3727 | + | |
| 3728 | + | |
| 3729 | + | |
| 3730 | + | |
| 3731 | + | |
| 3732 | + | |
| 3733 | + | |
| 3734 | + | |
| 3735 | + | |
| 3736 | + | |
| 3737 | + | |
| 3738 | + | |
3729 | 3739 | | |
3730 | 3740 | | |
3731 | 3741 | | |
3732 | 3742 | | |
3733 | | - | |
3734 | | - | |
3735 | 3743 | | |
3736 | 3744 | | |
3737 | 3745 | | |
| |||
0 commit comments