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

From Pavel Stehule
Subject Re: psql - factor out echo code
Date
Msg-id CAFj8pRA4jk--M1165fy1_3Z1A8471dyWTfQ-Uy9uAsgM2x35Kw@mail.gmail.com
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  (Peter Eisentraut <peter.eisentraut@enterprisedb.com>)
List pgsql-hackers


st 30. 11. 2022 v 10:43 odesílatel Fabien COELHO <coelho@cri.ensmp.fr> napsal:

>> Now some of the output generated by test_extdepend gets a bit
>> confusing:
>> +-- QUERY:
>> +
>> +
>> +-- QUERY:
>>
>> That's not entirely this patch's fault.  Still that's not really
>> intuitive to see the output of a query that's just a blank spot..
>
> Hmmm.
>
> What about adding an explicit \echo before these empty outputs to mitigate
> the possible induced confusion?

\echo is not possible.

Attached an attempt to improve the situation by replacing empty lines with
comments in this test.

I can confirm so all regress tests passed

Regards

Pavel
 

--
Fabien.

pgsql-hackers by date:

Previous
From: John Naylor
Date:
Subject: Re: [PoC] Improve dead tuple storage for lazy vacuum
Next
From: Michael Paquier
Date:
Subject: Re: [PATCH] Add native windows on arm64 support