mirror of
https://github.com/postgres/postgres.git
synced 2025-09-02 04:21:28 +03:00
Some more FLEXIBLE_ARRAY_MEMBER fixes.
This commit is contained in:
@@ -130,6 +130,10 @@ typedef struct ReplicationSlot
|
||||
*/
|
||||
typedef struct ReplicationSlotCtlData
|
||||
{
|
||||
/*
|
||||
* This array should be declared [FLEXIBLE_ARRAY_MEMBER], but for some
|
||||
* reason you can't do that in an otherwise-empty struct.
|
||||
*/
|
||||
ReplicationSlot replication_slots[1];
|
||||
} ReplicationSlotCtlData;
|
||||
|
||||
|
Reference in New Issue
Block a user