Re: [HACKERS] One-shot expanded output in psql using \gx - Mailing list pgsql-hackers

From Tobias Bussmann
Subject Re: [HACKERS] One-shot expanded output in psql using \gx
Date
Msg-id CB7A53AA-5645-4BDD-AB07-4D22CD9D8FF1@gmx.net
Whole thread Raw
In response to Re: [HACKERS] One-shot expanded output in psql using \gx  (Stephen Frost <sfrost@snowman.net>)
Responses Re: [HACKERS] One-shot expanded output in psql using \gx  (Noah Misch <noah@leadboat.com>)
List pgsql-hackers
I've tested the new \gx against 10beta and current git HEAD. Actually one of my favourite features of PostgreSQL 10!
Howeverin my environment it was behaving strangely. After some debugging I found that \gx does not work if you have
\setFETCH_COUNT n before. Please find attached a patch that fixes this incl. new regression test. 

Best regards,
Tobias


 



-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Attachment

pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: [HACKERS] A suspicious code in pgoutput_startup().
Next
From: Andres Freund
Date:
Subject: Re: [HACKERS] increasing the default WAL segment size