git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 08c3ad2) | patch
Refactor code checking for file existence
2024年1月12日 03:04:51 +0000 (12:04 +0900)
2024年1月12日 03:04:51 +0000 (12:04 +0900)
commit e72a37528ddaadd796be73fe9b0a0c08b18476d2
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
src/backend/jit/jit.c diff | blob | blame | history
src/backend/storage/file/fd.c diff | blob | blame | history
src/backend/utils/fmgr/dfmgr.c diff | blob | blame | history
src/include/storage/fd.h diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /