Re: [patch] \g with multiple result sets and \watch with copy queries

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Daniel Verite" <daniel(at)manitou-mail(dot)org>
Cc: pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: [patch] \g with multiple result sets and \watch with copy queries
Date: 2022-10-03 17:00:46
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

"Daniel Verite" <daniel(at)manitou-mail(dot)org> writes:
> The psql improvement in v15 to output multiple result sets does not
> behave as one might expect with \g: the output file or program
> to pipe into is opened/closed on each result set, overwriting the
> previous ones in the case of \g file.

Ugh. I think we'd better fix that before 15.0, else somebody may
think this is the new intended behavior and raise compatibility
concerns when we fix it. I will see if I can squeeze it in before
this afternoon's 15rc2 wrap.

regards, tom lane

In response to


Browse pgsql-hackers by date

  From Date Subject
Next Message Andres Freund 2022-10-03 17:01:25 Re: problems with making relfilenodes 56-bits
Previous Message Tomas Vondra 2022-10-03 16:14:13 Re: Bloom filter Pushdown Optimization for Merge Join