mirror of
https://github.com/postgres/postgres.git
synced 2025-08-19 23:22:23 +03:00
Use FLEXIBLE_ARRAY_MEMBER in some more places.
Fix a batch of structs that are only visible within individual .c files. Michael Paquier
This commit is contained in:
@@ -1088,7 +1088,7 @@ GetDefaultTablespace(char relpersistence)
|
||||
typedef struct
|
||||
{
|
||||
int numSpcs;
|
||||
Oid tblSpcs[1]; /* VARIABLE LENGTH ARRAY */
|
||||
Oid tblSpcs[FLEXIBLE_ARRAY_MEMBER];
|
||||
} temp_tablespaces_extra;
|
||||
|
||||
/* check_hook: validate new temp_tablespaces */
|
||||
|
Reference in New Issue
Block a user