mirror of
https://github.com/postgres/postgres.git
synced 2025-06-11 20:28:21 +03:00
Remove PF_USED_FOR_ASSERTS_ONLY from variables in general use
fsstate in process_pending_requests (in postgres_fdw.c) was added in8998e3cafa
as an assertion-only variable,1ec7fca859
stated using the variable outside of assertions. rd_index in get_index_column_opclass (in lsyscache.c) was introduced in2a6368343f
, and then promptly used in the fix commit7e04160390
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
This commit is contained in:
@ -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);
|
||||
|
Reference in New Issue
Block a user