Re: pgsql: psql: Add test for query canceling - Mailing list pgsql-committers

From Peter Eisentraut
Subject Re: pgsql: psql: Add test for query canceling
Date
Msg-id 2e765fec-219a-378f-a035-f85c95ff3bff@enterprisedb.com
Whole thread Raw
In response to Re: pgsql: psql: Add test for query canceling  (Fabien COELHO <coelho@cri.ensmp.fr>)
List pgsql-committers
On 25.08.21 07:37, Fabien COELHO wrote:
> I finally came around to have a look at the patch.
> 
> For the issue raised above, I can see that the file could be created but 
> not yet written, but as the patch waits for the file to be non zero, 
> ISTM that the probability of a torn write of a single integer by echo is 
> so remote that we could let it as that?
> 
> Attached a version with the slurping in the loop anyway.

It looks like this fixed it.  Thanks all.




pgsql-committers by date:

Previous
From: John Naylor
Date:
Subject: pgsql: Rename unicode_combining_table to unicode_width_table
Next
From: Peter Eisentraut
Date:
Subject: pgsql: Fix handling of partitioned index in RelationGetNumberOfBlocksIn