/* *SingleWALrecordforanentireCREATEDATABASEoperation.Thisisused *bytheFILE_COPYstrategy.
*/ typedefstruct xl_dbase_create_file_copy_rec
{
Oid db_id;
Oid tablespace_id;
Oid src_db_id;
Oid src_tablespace_id;
} xl_dbase_create_file_copy_rec;
/* *WALrecordforthebeginningofaCREATEDATABASEoperation,whenthe *WAL_LOGstrategyisused.Eachindividualblockwillbeloggedseparately *afterward.
*/ typedefstruct xl_dbase_create_wal_log_rec
{
Oid db_id;
Oid tablespace_id;
} xl_dbase_create_wal_log_rec;
typedefstruct xl_dbase_drop_rec
{
Oid db_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)