Re: COPY TO (FREEZE)?

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Mingli Zhang <zmlpostgres(at)gmail(dot)com>
Cc: Kyotaro Horiguchi <horikyota(dot)ntt(at)gmail(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-hackers(at)postgresql(dot)org, rjuju123(at)gmail(dot)com
Subject: Re: COPY TO (FREEZE)?
Date: 2023-10-30 02:58:02
Message-ID: ZT8buuos5wA-RiFn@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Mon, Oct 30, 2023 at 05:07:48AM +0800, Mingli Zhang wrote:
>
> Bruce Momjian <bruce(at)momjian(dot)us>于2023年10月30日周一03:35写道:
>
> On Sun, Oct 29, 2023 at 02:50:37PM +0800, Mingli Zhang wrote:
> > I guess you want to write “cannot be used with COPY TO”
>
> You are 100% correct.  Updated patch attached.
>
> --
>   Bruce Momjian  <bruce(at)momjian(dot)us>        https://momjian.us
>   EDB                                      https://enterprisedb.com
>
>   Only you can decide what is important to you.
>
>
>
> (errcode(ERRCODE_INVALID_PARAMETER_VALUE),
>
> + errmsg("COPY FREEZE mode cannot be used with COPY FROM")));
>
> +
>
>
> COPY FROM-> COPY TO

Agreed, patch attached.

--
Bruce Momjian <bruce(at)momjian(dot)us> https://momjian.us
EDB https://enterprisedb.com

Only you can decide what is important to you.

Attachment Content-Type Size
freeze.diff text/x-diff 3.4 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Amit Kapila 2023-10-30 03:21:18 Re: A recent message added to pg_upgade
Previous Message Kyotaro Horiguchi 2023-10-30 02:28:55 Re: A recent message added to pg_upgade