aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/table/tableamapi.c
diff options
context:
space:
mode:
authorAndres Freund <andres@anarazel.de>2019-03-30 20:13:56 -0700
committerAndres Freund <andres@anarazel.de>2019-03-31 18:16:53 -0700
commit4bb50236eb561f4639e75a393a5a1c9b8681acfb (patch)
treea6e457a7e3e935e31a00339bd1e768293fa95d91 /src/backend/access/table/tableamapi.c
parent76a39f2295ecb040f2ea052320941e1eb9b526c0 (diff)
downloadpostgresql-4bb50236eb561f4639e75a393a5a1c9b8681acfb.tar.gz
postgresql-4bb50236eb561f4639e75a393a5a1c9b8681acfb.zip
tableam: Formatting and other minor cleanups.
The superflous heapam_xlog.h includes were reported by Peter Geoghegan.
Diffstat (limited to 'src/backend/access/table/tableamapi.c')
-rw-r--r--src/backend/access/table/tableamapi.c11
1 files changed, 11 insertions, 0 deletions
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;
}