forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commiteaf746a
committed
Make psql's "\pset format" command reject non-unique abbreviations.
The previous behavior of preferring the oldest match had the advantageof not breaking existing scripts when we add a conflicting format name;but that behavior was undocumented and fragile (it seems just luck thatcommitadd9182 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.org1 parent51eaaaf commiteaf746a
1 file changed
+41
-18
lines changedLines changed: 41 additions & 18 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
3637 | 3637 |
| |
3638 | 3638 |
| |
3639 | 3639 |
| |
| 3640 | + | |
| 3641 | + | |
| 3642 | + | |
| 3643 | + | |
| 3644 | + | |
| 3645 | + | |
| 3646 | + | |
| 3647 | + | |
| 3648 | + | |
| 3649 | + | |
| 3650 | + | |
| 3651 | + | |
| 3652 | + | |
| 3653 | + | |
| 3654 | + | |
| 3655 | + | |
| 3656 | + | |
3640 | 3657 |
| |
3641 | 3658 |
| |
3642 |
| - | |
3643 |
| - | |
3644 |
| - | |
3645 |
| - | |
3646 |
| - | |
3647 |
| - | |
3648 |
| - | |
3649 |
| - | |
3650 |
| - | |
3651 |
| - | |
3652 |
| - | |
3653 |
| - | |
3654 |
| - | |
3655 |
| - | |
3656 |
| - | |
3657 |
| - | |
3658 | 3659 |
| |
3659 | 3660 |
| |
3660 |
| - | |
3661 |
| - | |
| 3661 | + | |
| 3662 | + | |
| 3663 | + | |
| 3664 | + | |
| 3665 | + | |
| 3666 | + | |
| 3667 | + | |
| 3668 | + | |
| 3669 | + | |
| 3670 | + | |
| 3671 | + | |
| 3672 | + | |
| 3673 | + | |
| 3674 | + | |
| 3675 | + | |
| 3676 | + | |
| 3677 | + | |
| 3678 | + | |
| 3679 | + | |
| 3680 | + | |
| 3681 | + | |
| 3682 | + | |
| 3683 | + | |
| 3684 | + | |
3662 | 3685 |
| |
3663 | 3686 |
| |
3664 | 3687 |
| |
|
0 commit comments
Comments
(0)