Re: should INSERT SELECT use a BulkInsertState? - Mailing list pgsql-hackers

From Ibrar Ahmed
Subject Re: should INSERT SELECT use a BulkInsertState?
Date
Msg-id CALtqXTevpr93xMJYo143ji9JhUhcbQ-oVGwLKGjnJMXMS_juSA@mail.gmail.com
Whole thread Raw
In response to Re: should INSERT SELECT use a BulkInsertState?  (Justin Pryzby <pryzby@telsasoft.com>)
Responses Re: should INSERT SELECT use a BulkInsertState?  (Zhihong Yu <zyu@yugabyte.com>)
RE: should INSERT SELECT use a BulkInsertState?  ("houzj.fnst@fujitsu.com" <houzj.fnst@fujitsu.com>)
List pgsql-hackers


On Mon, Mar 8, 2021 at 2:18 PM houzj.fnst@fujitsu.com <houzj.fnst@fujitsu.com> wrote:
> > > I am very interested in this patch, and I plan to do some
> > > experiments with the
> > patch.
> > > Can you please rebase the patch because it seems can not applied to
> > > the
> > master now.
> >
> > Thanks for your interest.
> >
> > I was sitting on a rebased version since the bulk FDW patch will cause
> > conflicts, and since this should maybe be built on top of the table-am patch
> (2871).
> > Have fun :)
> Hi,
>
> When I testing with the patch, I found I can not use "\d tablename".
> It reports the following error, it this related to the patch?

Sorry, solved by re-initdb.

Best regards,
houzj


One of the patch (v10-0001-INSERT-SELECT-to-use-BulkInsertState-and-multi_i.patch) from the patchset does not apply.

http://cfbot.cputube.org/patch_32_2553.log

1 out of 13 hunks FAILED -- saving rejects to file src/backend/commands/copyfrom.c.rej

It is a minor change, therefore I fixed that to make cfbot happy. Please take a look if that works for you.



--
Ibrar Ahmed
Attachment

pgsql-hackers by date:

Previous
From: Álvaro Hernández
Date:
Subject: Re: CDC feature request
Next
From: David Steele
Date:
Subject: Re: pg_stat_statements and "IN" conditions