diff options
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/commands/dbcommands_xlog.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/include/commands/dbcommands_xlog.h b/src/include/commands/dbcommands_xlog.h index 46be8a615ac..4e8a442c89f 100644 --- a/src/include/commands/dbcommands_xlog.h +++ b/src/include/commands/dbcommands_xlog.h @@ -32,10 +32,11 @@ typedef struct xl_dbase_create_rec typedef struct xl_dbase_drop_rec { - /* Records dropping of a single subdirectory incl. contents */ Oid db_id; - Oid tablespace_id; + int ntablespaces; /* number of tablespace IDs */ + Oid tablespace_ids[FLEXIBLE_ARRAY_MEMBER]; } xl_dbase_drop_rec; +#define MinSizeOfDbaseDropRec offsetof(xl_dbase_drop_rec, tablespace_ids) extern void dbase_redo(XLogReaderState *rptr); extern void dbase_desc(StringInfo buf, XLogReaderState *rptr); |