On Thu, Jun 6, 2019 at 10:29 PM Michael Paquier <mich...@paquier.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