diff options
Diffstat (limited to 'src/include/commands')
| -rw-r--r-- | src/include/commands/dbcommands.h | 15 | ||||
| -rw-r--r-- | src/include/commands/tablespace.h | 2 |
2 files changed, 1 insertions, 16 deletions
diff --git a/src/include/commands/dbcommands.h b/src/include/commands/dbcommands.h index cb7cc0e228..4b60cdbedc 100644 --- a/src/include/commands/dbcommands.h +++ b/src/include/commands/dbcommands.h @@ -22,21 +22,6 @@ #define XLOG_DBASE_CREATE 0x00 #define XLOG_DBASE_DROP 0x10 -typedef struct xl_dbase_create_rec_old -{ - /* Records copying of a single subdirectory incl. contents */ - Oid db_id; - char src_path[1]; /* VARIABLE LENGTH STRING */ - /* dst_path follows src_path */ -} xl_dbase_create_rec_old; - -typedef struct xl_dbase_drop_rec_old -{ - /* Records dropping of a single subdirectory incl. contents */ - Oid db_id; - char dir_path[1]; /* VARIABLE LENGTH STRING */ -} xl_dbase_drop_rec_old; - typedef struct xl_dbase_create_rec { /* Records copying of a single subdirectory incl. contents */ diff --git a/src/include/commands/tablespace.h b/src/include/commands/tablespace.h index e8b9bc407c..70734d6030 100644 --- a/src/include/commands/tablespace.h +++ b/src/include/commands/tablespace.h @@ -25,7 +25,7 @@ typedef struct xl_tblspc_create_rec { Oid ts_id; - char ts_path[1]; /* VARIABLE LENGTH STRING */ + char ts_path[FLEXIBLE_ARRAY_MEMBER]; /* null-terminated string */ } xl_tblspc_create_rec; typedef struct xl_tblspc_drop_rec |
