Re: COPY TO (FREEZE)?

From: Zhang Mingli <zmlpostgres(at)gmail(dot)com>
To: Bruce Momjian <bruce(at)momjian(dot)us>
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 03:22:14
Message-ID: f64b6354-33d0-4dd2-b2c9-5455b448761e@Spark
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

HI,

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

LGTM.

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Zhijie Hou (Fujitsu) 2023-10-30 03:36:41 RE: A recent message added to pg_upgade
Previous Message Amit Kapila 2023-10-30 03:21:18 Re: A recent message added to pg_upgade