Where available, use utime() or utimes() to update the file mod time
Tom Lane <tgl@sss.pgh.pa.us>
Where available, use utime() or utimes() to update the file mod time of the socket file and socket lock file; this should prevent both of them from being removed by even the stupidest varieties of /tmp-cleaning script. Per suggestion from Giles Lean.
Files
| Path | Change | +/− |
|---|---|---|
| configure | modified | +5 −2 |
| configure.in | modified | +3 −3 |
| src/backend/libpq/pqcomm.c | modified | +50 −9 |
| src/backend/postmaster/postmaster.c | modified | +2 −1 |
| src/backend/utils/init/miscinit.c | modified | +27 −8 |
| src/include/libpq/libpq.h | modified | +2 −1 |
| src/include/pg_config.h.in | modified | +10 −1 |