Re: Custom table AMs need to include heapam.h because of BulkInsertState

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: Michael Paquier <michael(at)paquier(dot)xyz>
Cc: Postgres hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: Custom table AMs need to include heapam.h because of BulkInsertState
Date: 2019-06-07 12:55:36
Message-ID: CA+TgmoY73QiSV+c1=wQbZ=sjrXsJwJegU+pe5+b5+7npVsihhQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Thu, Jun 6, 2019 at 10:29 PM Michael Paquier <michael(at)paquier(dot)xyz> wrote:
> One thing which is a bit tricky is that for example with COPY FROM we
> have a code path which is able to release a buffer held by the bulk
> insert state.

Are you talking about the call to ReleaseBulkInsertStatePin, or something else?

--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2019-06-07 13:48:29 Re: Custom table AMs need to include heapam.h because of BulkInsertState
Previous Message Robert Haas 2019-06-07 12:51:56 Re: hyrax vs. RelationBuildPartitionDesc