From 4bb50236eb561f4639e75a393a5a1c9b8681acfb Mon Sep 17 00:00:00 2001 From: Andres Freund Date: Sat, 30 Mar 2019 20:13:56 -0700 Subject: tableam: Formatting and other minor cleanups. The superflous heapam_xlog.h includes were reported by Peter Geoghegan. --- src/backend/access/table/tableamapi.c | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'src/backend/access/table/tableamapi.c') diff --git a/src/backend/access/table/tableamapi.c b/src/backend/access/table/tableamapi.c index e1817a612f0..96660bf907f 100644 --- a/src/backend/access/table/tableamapi.c +++ b/src/backend/access/table/tableamapi.c @@ -78,6 +78,17 @@ GetTableAmRoutine(Oid amhandler) Assert(routine->tuple_update != NULL); Assert(routine->tuple_lock != NULL); + Assert(routine->relation_set_new_filenode != NULL); + Assert(routine->relation_nontransactional_truncate != NULL); + Assert(routine->relation_copy_data != NULL); + Assert(routine->relation_copy_for_cluster != NULL); + Assert(routine->relation_vacuum != NULL); + Assert(routine->scan_analyze_next_block != NULL); + Assert(routine->scan_analyze_next_tuple != NULL); + Assert(routine->index_build_range_scan != NULL); + Assert(routine->index_validate_scan != NULL); + Assert(routine->relation_estimate_size != NULL); + return routine; } -- cgit v1.2.3