Re: Custom table AMs need to include heapam.h because of BulkInsertState
David Rowley <david.rowley@2ndquadrant.com>
From: David Rowley <david.rowley@2ndquadrant.com>
To: Andres Freund <andres@anarazel.de>
Cc: Michael Paquier <michael@paquier.xyz>,
Robert Haas <robertmhaas@gmail.com>, Postgres hackers <pgsql-hackers@lists.postgresql.org>
Date: 2019-08-14T06:11:06Z
Lists: pgsql-hackers
Attachments
- call_table_finish_bulk_insert_less_often.patch (application/octet-stream) patch
On Wed, 17 Jul 2019 at 06:46, Andres Freund <andres@anarazel.de> wrote: > 2) Add a execPartition.c function that returns all the used tables from > a PartitionTupleRouting*. Here's a patch which implements it that way. I struggled a bit to think of a good name for the execPartition.c function. I ended up with ExecGetRoutedToRelations. I'm open to better ideas. I also chose to leave the change of function signatures done in f7c830f1a in place. I don't think the additional now unused parameter is that out of place. Also, the function is inlined, so removing it wouldn't help performance any. -- David Rowley http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training & Services
Commits
-
Fix missing calls to table_finish_bulk_insert during COPY, take 2
- f7c830f1ab26 13.0 landed
- b8ef33b2d145 12.0 landed
-
Fix missing call to table_finish_bulk_insert during COPY
- 4de60244e2fc 12.0 landed