forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit7844c99
committed
psql: Show all query results by default
Previously, psql printed only the last result if a command stringreturned multiple result sets. Now it prints all of them. Theprevious behavior can be obtained by setting the psql variableSHOW_ALL_RESULTS to off.This is a significantly enhanced version of3a51306 (that was later reverted).There is also much more test coverage for various psql features now.Author: Fabien COELHO <coelho@cri.ensmp.fr>Reviewed-by: Peter Eisentraut <peter.eisentraut@enterprisedb.com>Reviewed-by: "Iwata, Aya" <iwata.aya@jp.fujitsu.com> (earlier version)Reviewed-by: Daniel Verite <daniel@manitou-mail.org> (earlier version)Reviewed-by: Kyotaro Horiguchi <horikyota.ntt@gmail.com> (earlier version)Reviewed-by: vignesh C <vignesh21@gmail.com> (earlier version)Discussion:https://www.postgresql.org/message-id/flat/alpine.DEB.2.21.1904132231510.8961@lancre1 parentcbf4177 commit7844c99
File tree
14 files changed
+801
-255
lines changed- contrib/pg_stat_statements/expected
- doc/src/sgml/ref
- src
- bin/psql
- t
- test/regress
- expected
- sql
14 files changed
+801
-255
lines changedLines changed: 25 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
50 | 50 |
| |
51 | 51 |
| |
52 | 52 |
| |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
53 | 63 |
| |
54 | 64 |
| |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
55 | 75 |
| |
56 | 76 |
| |
57 | 77 |
| |
| |||
61 | 81 |
| |
62 | 82 |
| |
63 | 83 |
| |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
64 | 89 |
| |
65 | 90 |
| |
66 | 91 |
| |
|
Lines changed: 15 additions & 14 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
127 | 127 |
| |
128 | 128 |
| |
129 | 129 |
| |
130 |
| - | |
131 |
| - | |
132 |
| - | |
133 |
| - | |
134 |
| - | |
135 |
| - | |
136 | 130 |
| |
137 | 131 |
| |
138 |
| - | |
139 |
| - | |
140 |
| - | |
141 |
| - | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
142 | 135 |
| |
143 | 136 |
| |
144 | 137 |
| |
| |||
3570 | 3563 |
| |
3571 | 3564 |
| |
3572 | 3565 |
| |
3573 |
| - | |
3574 |
| - | |
3575 |
| - | |
3576 |
| - | |
3577 | 3566 |
| |
3578 | 3567 |
| |
3579 | 3568 |
| |
| |||
4160 | 4149 |
| |
4161 | 4150 |
| |
4162 | 4151 |
| |
| 4152 | + | |
| 4153 | + | |
| 4154 | + | |
| 4155 | + | |
| 4156 | + | |
| 4157 | + | |
| 4158 | + | |
| 4159 | + | |
| 4160 | + | |
| 4161 | + | |
| 4162 | + | |
| 4163 | + | |
4163 | 4164 |
| |
4164 | 4165 |
| |
4165 | 4166 |
| |
|
0 commit comments
Comments
(0)