aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/jsonfuncs.c
diff options
context:
space:
mode:
authorMichael Paquier <michael@paquier.xyz>2024-01-12 12:04:51 +0900
committerMichael Paquier <michael@paquier.xyz>2024-01-12 12:04:51 +0900
commite72a37528ddaadd796be73fe9b0a0c08b18476d2 (patch)
treef1e827966b3b0e02ed56b6cfbe96e9f266d6e610 /src/backend/utils/adt/jsonfuncs.c
parent08c3ad27eb5348d0cbffa843a3edb11534f9904a (diff)
downloadpostgresql-e72a37528ddaadd796be73fe9b0a0c08b18476d2.tar.gz
postgresql-e72a37528ddaadd796be73fe9b0a0c08b18476d2.zip
Refactor code checking for file existence
jit.c and dfgr.c had a copy of the same code to check if a file exists or not, with a twist: jit.c did not check for EACCES when failing the stat() call for the path whose existence is tested. This refactored routine will be used by an upcoming patch. Reviewed-by: Ashutosh Bapat Discussion: https://postgr.es/m/ZTiV8tn_MIb_H2rE@paquier.xyz
Diffstat (limited to 'src/backend/utils/adt/jsonfuncs.c')
0 files changed, 0 insertions, 0 deletions