postgresql/src/backend/storage/file
David Rowley 4331a11c62 Remove incorrect Asserts in buffile.c
Both BufFileSize() and BufFileAppend() contained Asserts to ensure the
given BufFile(s) had a valid fileset.  A valid fileset isn't required in
either of these functions, so remove the Asserts and adjust the
comments accordingly.

This was noticed while work was being done on a new patch to call
BufFileSize() on a BufFile without a valid fileset.  It seems there's
currently no code in the tree which could trigger these Asserts, so no
need to backpatch this, for now.

Reviewed-by: Peter Geoghegan, Matthias van de Meent, Tom Lane
Discussion: https://postgr.es/m/CAApHDvofgZT0VzydhyGH5MMb-XZzNDqqAbzf1eBZV5HDm3%2BosQ%40mail.gmail.com
2024-07-04 09:44:34 +12:00
..
buffile.c Remove incorrect Asserts in buffile.c 2024-07-04 09:44:34 +12:00
copydir.c Update copyright for 2024 2024-01-03 20:49:05 -05:00
fd.c Remove useless extern keywords 2024-07-01 16:40:25 +02:00
fileset.c Remove unused #include's from backend .c files 2024-03-04 12:02:20 +01:00
Makefile Refactor sharedfileset.c to separate out fileset implementation. 2021-08-30 08:48:15 +05:30
meson.build Update copyright for 2024 2024-01-03 20:49:05 -05:00
reinit.c Update copyright for 2024 2024-01-03 20:49:05 -05:00
sharedfileset.c Remove unused #include's from backend .c files 2024-03-04 12:02:20 +01:00