Re: Using COPY FREEZE in pgbench - Mailing list pgsql-hackers

From Fabien COELHO
Subject Re: Using COPY FREEZE in pgbench
Date
Msg-id alpine.DEB.2.22.394.2103201433380.1912353@pseudo
Whole thread Raw
In response to Re: Using COPY FREEZE in pgbench  (Tatsuo Ishii <ishii@sraoss.co.jp>)
Responses Re: Using COPY FREEZE in pgbench
List pgsql-hackers
Hello Tatsuo-san,

>> I have looked in the code of PQprotocolVersion. The only case in which
>> it returns 0 is there's no connection. Yes, you are right. Once the
>> connection has been successfuly established, there's no chance it
>> fails. So I agree with you.
>
> Attached v3 patch addresses this.
>
>>> The "g" item in the section describing initialization steps
>>> (i.e. option -I). I'd suggest just to replace "COPY" with "COPY
>>> FREEZE" in the sentence.
>>
>> Ok. The section is needed to be modified.
>
> This is also addressed in the patch.

V3 works for me and looks ok. I changed it to ready in the CF app.

-- 
Fabien.



pgsql-hackers by date:

Previous
From: Amit Langote
Date:
Subject: Re: simplifying foreign key/RI checks
Next
From: Tomas Vondra
Date:
Subject: Re: [HACKERS] Custom compression methods