aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/arrayfuncs.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2023-12-27 13:05:16 -0500
committerTom Lane <tgl@sss.pgh.pa.us>2023-12-27 13:05:19 -0500
commit3f1fd416316cbb66de61ac1ac34839f025b0b242 (patch)
treea20183b353cb4ebef8f593f3cd176bf67b94c51f /src/backend/utils/adt/arrayfuncs.c
parent390408ec08d338f36798ec063f81c5098596f8da (diff)
downloadpostgresql-3f1fd416316cbb66de61ac1ac34839f025b0b242.tar.gz
postgresql-3f1fd416316cbb66de61ac1ac34839f025b0b242.zip
Fix another incorrect data type choice from commit dc2123400.
add_file_to_manifest declared its mtime argument as pg_time_t, apparently on the principle that copy-and-paste from the backend is fine. However, the callers are passing struct stat's st_mtime field which is plain time_t, and add_file_to_manifest itself is passing the value to gmtime(3) which expects plain time_t, so the whole thing would not work at all on any platform where those types are different. Fortunately we can just switch this variable to time_t. Per warnings from assorted buildfarm members.
Diffstat (limited to 'src/backend/utils/adt/arrayfuncs.c')
0 files changed, 0 insertions, 0 deletions