diff options
author | Daniel Gustafsson <dgustafsson@postgresql.org> | 2021-11-30 14:02:14 +0100 |
---|---|---|
committer | Daniel Gustafsson <dgustafsson@postgresql.org> | 2021-11-30 14:02:14 +0100 |
commit | ac0db34e0e5c7ee6f8b5c33c264de3e671fbd4f7 (patch) | |
tree | a803eedeba4348319fd8619f2943a8a03cf07d61 /contrib/postgres_fdw/postgres_fdw.c | |
parent | c113d8ad50d62bfcc16bbd5ceec91122e0046ede (diff) | |
download | postgresql-ac0db34e0e5c7ee6f8b5c33c264de3e671fbd4f7.tar.gz postgresql-ac0db34e0e5c7ee6f8b5c33c264de3e671fbd4f7.zip |
Remove PF_USED_FOR_ASSERTS_ONLY from variables in general use
fsstate in process_pending_requests (in postgres_fdw.c) was added in
8998e3cafa2 as an assertion-only variable, 1ec7fca8592 stated using
the variable outside of assertions.
rd_index in get_index_column_opclass (in lsyscache.c) was introduced
in 2a6368343ff, and then promptly used in the fix commit 7e041603904
shortly thereafter.
This removes the PG_USED_FOR_ASSERTS_ONLY variable decoration from
the above mentioned variables.
Reviewed-by: Greg Nancarrow <gregn4422@gmail.com>
Discussion: https://postgr.es/m/F959106C-0F21-43A5-B2AE-D007D51ACBEE@yesql.se
Diffstat (limited to 'contrib/postgres_fdw/postgres_fdw.c')
-rw-r--r-- | contrib/postgres_fdw/postgres_fdw.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/postgres_fdw/postgres_fdw.c b/contrib/postgres_fdw/postgres_fdw.c index f767fdcc6a1..fa9a099f134 100644 --- a/contrib/postgres_fdw/postgres_fdw.c +++ b/contrib/postgres_fdw/postgres_fdw.c @@ -7058,7 +7058,7 @@ void process_pending_request(AsyncRequest *areq) { ForeignScanState *node = (ForeignScanState *) areq->requestee; - PgFdwScanState *fsstate PG_USED_FOR_ASSERTS_ONLY = (PgFdwScanState *) node->fdw_state; + PgFdwScanState *fsstate = (PgFdwScanState *) node->fdw_state; /* The request would have been pending for a callback */ Assert(areq->callback_pending); |