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

From Zhang Mingli
Subject Re: COPY TO (FREEZE)?
Date
Msg-id f64b6354-33d0-4dd2-b2c9-5455b448761e@Spark
Whole thread Raw
In response to Re: COPY TO (FREEZE)?  (Bruce Momjian <bruce@momjian.us>)
List pgsql-hackers
HI,


Zhang Mingli
www.hashdata.xyz
On Oct 30, 2023 at 10:58 +0800, Bruce Momjian <bruce@momjian.us>, wrote:
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.

LGTM.

pgsql-hackers by date:

Previous
From: Amit Kapila
Date:
Subject: Re: A recent message added to pg_upgade
Next
From: "Zhijie Hou (Fujitsu)"
Date:
Subject: RE: A recent message added to pg_upgade