summaryrefslogtreecommitdiff
path: root/src/include/commands/tablespace.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/commands/tablespace.h')
-rw-r--r--src/include/commands/tablespace.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/commands/tablespace.h b/src/include/commands/tablespace.h
index e8b9bc407ca..70734d60301 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