Skip to content

Commit

Permalink
Compatibility fix for PG17 (#20)
Browse files Browse the repository at this point in the history
Reported and fixed by: Devrim Gunduz

Co-authored-by: rafia sabih <[email protected]>
  • Loading branch information
RafiaSabih authored Aug 5, 2024
1 parent 3817eee commit cdab237
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions pg_auth_mon.c
Original file line number Diff line number Diff line change
Expand Up @@ -519,12 +519,10 @@ pg_auth_mon_internal(PG_FUNCTION_ARGS, pgauthmonVersion api_version)

LWLockRelease(auth_mon_lock);

/* clean up and return the tuplestore */
tuplestore_donestoring(tupstore);

rsinfo->returnMode = SFRM_Materialize;
rsinfo->setResult = tupstore;
rsinfo->setDesc = tupdesc;

return (Datum) 0;
}
}

0 comments on commit cdab237

Please sign in to comment.