Re: psql - factor out echo code - Mailing list pgsql-hackers

From Fabien COELHO
Subject Re: psql - factor out echo code
Date
Msg-id alpine.DEB.2.22.394.2107022328450.2359988@pseudo
Whole thread Raw
In response to Re: psql - factor out echo code  (Fabien COELHO <coelho@cri.ensmp.fr>)
Responses Re: psql - factor out echo code  (vignesh C <vignesh21@gmail.com>)
List pgsql-hackers
>  "-- # <whatever> QUERY\n%s\n\n"

Attached an attempt along those lines. I found another duplicate of the 
ascii-art printing in another function.

Completion queries seems to be out of the echo/echo hidden feature.

Incredible, there is a (small) impact on regression tests for the \gexec 
case. All other changes have no impact, because they are not tested:-(

-- 
Fabien.
Attachment

pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: psql - factor out echo code
Next
From: Paul A Jungwirth
Date:
Subject: Re: SQL:2011 application time