Re: COPY TO (FREEZE)? - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: COPY TO (FREEZE)?
Date
Msg-id ZT8buuos5wA-RiFn@momjian.us
Whole thread Raw
In response to Re: COPY TO (FREEZE)?  (Mingli Zhang <zmlpostgres@gmail.com>)
Responses Re: COPY TO (FREEZE)?
List pgsql-hackers
On Mon, Oct 30, 2023 at 05:07:48AM +0800, Mingli Zhang wrote:
> 
> Bruce Momjian <bruce@momjian.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@momjian.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@momjian.us>        https://momjian.us
  EDB                                      https://enterprisedb.com

  Only you can decide what is important to you.

Attachment

pgsql-hackers by date:

Previous
From: Kyotaro Horiguchi
Date:
Subject: Re: A recent message added to pg_upgade
Next
From: Amit Kapila
Date:
Subject: Re: A recent message added to pg_upgade