| /*------------------------------------------------------------------------- |
| * |
| * aocatalog.h |
| * |
| * Helper function to support the creation of |
| * append-only auxiliary relation as block directories and visimaps. |
| * |
| * Copyright (c) 2013-Present VMware, Inc. or its affiliates. |
| * |
| * |
| * IDENTIFICATION |
| * src/include/catalog/aocatalog.h |
| * |
| *------------------------------------------------------------------------- |
| */ |
| #ifndef AOCATALOG_H |
| #define AOCATALOG_H |
| |
| #include "catalog/heap.h" |
| #include "catalog/index.h" |
| |
| extern bool CreateAOAuxiliaryTable(Relation rel, |
| const char *auxiliaryNamePrefix, |
| char relkind, |
| TupleDesc tupledesc, |
| IndexInfo *indexInfo, |
| List *indexColNames, |
| Oid *classObjectId, |
| int16 *coloptions); |
| |
| extern bool IsAppendonlyMetadataRelkind(const char relkind); |
| |
| extern void NewRelationCreateAOAuxTables(Oid relOid, bool createBlkDir); |
| #endif /* AOCATALOG_H */ |