Re: Using COPY FREEZE in pgbench

From: Tatsuo Ishii <ishii(at)sraoss(dot)co(dot)jp>
To: laurenz(dot)albe(at)cybertec(dot)at
Cc: pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: Using COPY FREEZE in pgbench
Date: 2021-03-08 11:23:07
Message-ID: 20210308.202307.399271076638861947.t-ishii@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

>> - res = PQexec(con, "copy pgbench_accounts from stdin");
>> + res = PQexec(con, "copy pgbench_accounts from stdin freeze");
>
> I think it would be better to use the official syntax and put the "freeze"
> in parentheses. Perhaps the old syntax will be desupported some day.

Agreed.
--
Tatsuo Ishii
SRA OSS, Inc. Japan
English: http://www.sraoss.co.jp/index_en.php
Japanese:http://www.sraoss.co.jp

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Andy Fan 2021-03-08 11:39:28 Re: Huge memory consumption on partitioned table with FKs
Previous Message Tatsuo Ishii 2021-03-08 11:22:21 Re: Using COPY FREEZE in pgbench