- Notifications
You must be signed in to change notification settings - Fork5
Commit5dbc5da
committed
Fix behavior of psql's \p to agree with \g, \w, etc.
In commite984ef5 I (tgl) simplified the behavior of \p to just printthe current query buffer; but Daniel Vérité points out that this made itinconsistent with the behavior of \g and \w. It should print the samething \g would execute. Fix that, and improve related comments.Daniel VéritéDiscussion:https://postgr.es/m/9b4ea968-753f-4b5f-b46c-d7d3bf7c8f90@manitou-mail.org1 parent130ae4a commit5dbc5da
3 files changed
+63
-6
lines changedLines changed: 19 additions & 6 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
106 | 106 |
| |
107 | 107 |
| |
108 | 108 |
| |
109 |
| - | |
| 109 | + | |
110 | 110 |
| |
111 | 111 |
| |
112 | 112 |
| |
| |||
362 | 362 |
| |
363 | 363 |
| |
364 | 364 |
| |
365 |
| - | |
| 365 | + | |
| 366 | + | |
366 | 367 |
| |
367 | 368 |
| |
368 | 369 |
| |
| |||
955 | 956 |
| |
956 | 957 |
| |
957 | 958 |
| |
958 |
| - | |
| 959 | + | |
959 | 960 |
| |
960 | 961 |
| |
961 | 962 |
| |
| |||
1827 | 1828 |
| |
1828 | 1829 |
| |
1829 | 1830 |
| |
1830 |
| - | |
| 1831 | + | |
1831 | 1832 |
| |
1832 | 1833 |
| |
1833 | 1834 |
| |
| 1835 | + | |
| 1836 | + | |
| 1837 | + | |
| 1838 | + | |
| 1839 | + | |
1834 | 1840 |
| |
1835 | 1841 |
| |
| 1842 | + | |
| 1843 | + | |
1836 | 1844 |
| |
1837 | 1845 |
| |
1838 | 1846 |
| |
| |||
2549 | 2557 |
| |
2550 | 2558 |
| |
2551 | 2559 |
| |
| 2560 | + | |
| 2561 | + | |
| 2562 | + | |
| 2563 | + | |
| 2564 | + | |
| 2565 | + | |
2552 | 2566 |
| |
2553 | 2567 |
| |
2554 |
| - | |
2555 | 2568 |
| |
2556 | 2569 |
| |
2557 | 2570 |
| |
| |||
2602 | 2615 |
| |
2603 | 2616 |
| |
2604 | 2617 |
| |
2605 |
| - | |
| 2618 | + | |
2606 | 2619 |
| |
2607 | 2620 |
| |
2608 | 2621 |
| |
|
Lines changed: 32 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2932 | 2932 |
| |
2933 | 2933 |
| |
2934 | 2934 |
| |
| 2935 | + | |
| 2936 | + | |
| 2937 | + | |
| 2938 | + | |
| 2939 | + | |
| 2940 | + | |
| 2941 | + | |
| 2942 | + | |
| 2943 | + | |
| 2944 | + | |
| 2945 | + | |
| 2946 | + | |
| 2947 | + | |
| 2948 | + | |
| 2949 | + | |
| 2950 | + | |
| 2951 | + | |
| 2952 | + | |
| 2953 | + | |
| 2954 | + | |
| 2955 | + | |
| 2956 | + | |
| 2957 | + | |
| 2958 | + | |
| 2959 | + | |
| 2960 | + | |
| 2961 | + | |
| 2962 | + | |
| 2963 | + | |
| 2964 | + | |
| 2965 | + | |
| 2966 | + |
Lines changed: 12 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
548 | 548 |
| |
549 | 549 |
| |
550 | 550 |
| |
| 551 | + | |
| 552 | + | |
| 553 | + | |
| 554 | + | |
| 555 | + | |
| 556 | + | |
| 557 | + | |
| 558 | + | |
| 559 | + | |
| 560 | + | |
| 561 | + | |
| 562 | + |
0 commit comments
Comments
(0)