1
0
mirror of https://github.com/postgres/postgres.git synced 2025-05-05 09:19:17 +03:00

Move PG_USED_FOR_ASSERTS_ONLY before initializer.

Erik Rijkers reported a compile failure, and I think this is probably
the reason.
This commit is contained in:
Robert Haas 2021-03-12 15:04:10 -05:00
parent 7a1527c02c
commit ac44595585

View File

@ -2058,7 +2058,7 @@ compile_relation_list_one_db(PGconn *conn, SimplePtrList *relations,
{
int pattern_id = -1;
bool is_heap = false;
bool is_btree = false PG_USED_FOR_ASSERTS_ONLY;
bool is_btree PG_USED_FOR_ASSERTS_ONLY = false;
Oid oid = InvalidOid;
const char *nspname = NULL;
const char *relname = NULL;