Use truncate(2) where appropriate. When truncating files by name, use truncate(2). Windows hasn't got it, so keep our previous coding based on ftruncate(2) as a fallback. Discussion: https://postgr.es/m/16663-fe97ccf9932fc800%40postgresql.org Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/57faaf376e1961fa48866c6e5d6926463c6671b1 Modified Files -------------- src/backend/storage/file/fd.c | 27 +++++++++++++++++++++++++++ src/backend/storage/smgr/md.c | 13 +------------ src/include/storage/fd.h | 1 + 3 files changed, 29 insertions(+), 12 deletions(-)
pgsql-committers by date:
Соглашаюсь с условиями обработки персональных данных