Remove unneeded volatile qualifier in fmgr.c.
authorNathan Bossart
Wed, 12 Feb 2025 21:45:40 +0000 (15:45 -0600)
committerNathan Bossart
Wed, 12 Feb 2025 21:45:40 +0000 (15:45 -0600)
commit9e66a2b7841a5c1f929103c82c73244d3f5f3416
tree0eb0706d0638a8cd825bc891af6590fa81aac4fa
parentfd602f29c19d4f483f54d93abe240c12219d9f51
Remove unneeded volatile qualifier in fmgr.c.

Currently, the save_nestlevel variable in fmgr_security_definer()
is marked volatile.  While this may have been necessary when it was
used in a PG_CATCH section (as explained in the comment for PG_TRY
in elog.h), it appears to have been unnecessary since commit
82a47982f3, which removed its use in a PG_CATCH section.

Author: Julien Rouhaud 
Reviewed-by: Bertrand Drouvot
Discussion: https://postgr.es/m/Z6xbAgXKY2L-3d5Q%40jrouhaud
src/backend/utils/fmgr/fmgr.c