projects
/
users
/
rhaas
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7a1527c
)
Move PG_USED_FOR_ASSERTS_ONLY before initializer.
author
Robert Haas
<rhaas@postgresql.org>
Fri, 12 Mar 2021 20:04:10 +0000
(15:04 -0500)
committer
Robert Haas
<rhaas@postgresql.org>
Fri, 12 Mar 2021 20:04:10 +0000
(15:04 -0500)
Erik Rijkers reported a compile failure, and I think this is probably
the reason.
src/bin/pg_amcheck/pg_amcheck.c
patch
|
blob
|
blame
|
history
diff --git
a/src/bin/pg_amcheck/pg_amcheck.c
b/src/bin/pg_amcheck/pg_amcheck.c
index bbad22e7a1562cc077240549816a4ed33fcbc1e9..008a75d207e7638632603cf4fd65ae82d5209a27 100644
(file)
--- a/
src/bin/pg_amcheck/pg_amcheck.c
+++ b/
src/bin/pg_amcheck/pg_amcheck.c
@@
-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;