Re: Using COPY FREEZE in pgbench

From: Fabien COELHO <coelho(at)cri(dot)ensmp(dot)fr>
To: Tatsuo Ishii <ishii(at)sraoss(dot)co(dot)jp>
Cc: PostgreSQL Developers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: Using COPY FREEZE in pgbench
Date: 2021-03-20 13:35:00
Message-ID: alpine.DEB.2.22.394.2103201433380.1912353@pseudo
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tomas Vondra 2021-03-20 15:13:47 Re: [HACKERS] Custom compression methods
Previous Message Amit Langote 2021-03-20 13:21:54 Re: simplifying foreign key/RI checks