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

From Mingli Zhang
Subject Re: COPY TO (FREEZE)?
Date
Msg-id CANG7CA+7ooVPkvWM8Cnk-asqFj8q41zJT0+WTDqq4EiyRmw6gQ@mail.gmail.com
Whole thread Raw
In response to Re: COPY TO (FREEZE)?  (Bruce Momjian <bruce@momjian.us>)
Responses Re: COPY TO (FREEZE)?
List pgsql-hackers


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

pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: COPY TO (FREEZE)?
Next
From: Alexander Korotkov
Date:
Subject: Re: On login trigger: take three