mirror of
https://git.postgresql.org/git/postgresql.git
synced 2026-02-12 17:37:07 +08:00
Revert "psql: Show all query results by default"
This reverts commit 3a5130672296ed4e682403a77a9a3ad3d21cef75. Per discussion, this patch had too many issues to resolve at this point of the development cycle. We'll try again in the future. Discussion: https://www.postgresql.org/message-id/flat/alpine.DEB.2.21.1904132231510.8961@lancre
This commit is contained in:
@ -84,10 +84,10 @@ drop table test1;
|
||||
-- psql handling of COPY in multi-command strings
|
||||
copy (select 1) to stdout\; select 1/0; -- row, then error
|
||||
select 1/0\; copy (select 1) to stdout; -- error only
|
||||
copy (select 1) to stdout\; copy (select 2) to stdout\; select 3\; select 4; -- 1 2 3 4
|
||||
copy (select 1) to stdout\; copy (select 2) to stdout\; select 0\; select 3; -- 1 2 3
|
||||
|
||||
create table test3 (c int);
|
||||
select 0\; copy test3 from stdin\; copy test3 from stdin\; select 1; -- 0 1
|
||||
select 0\; copy test3 from stdin\; copy test3 from stdin\; select 1; -- 1
|
||||
1
|
||||
\.
|
||||
2
|
||||
|
||||
Reference in New Issue
Block a user