postgresql/src/backend/storage
Andres Freund eabb22525e Remove over-eager assertion in ExtendBufferedRelTo()
The assertion checked that the size of the relation is not "too large" - but
the code is explicitly dealing with the possibility of another backend
extending the relation concurrently. In that case the new relation size could
be bigger than what the current backend needs, wrongly triggering an assertion
failure.

Unfortunately it is hard to write a reliable and affordable regression tests
for this, as a lot of concurrency is needed to encounter the bug.

Introduced in 31966b151e.

Reported-by: Melanie Plageman <melanieplageman@gmail.com>
2023-05-21 09:53:49 -07:00
..
buffer Remove over-eager assertion in ExtendBufferedRelTo() 2023-05-21 09:53:49 -07:00
file Pre-beta mechanical code beautification. 2023-05-19 17:24:48 -04:00
freespace Use ExtendBufferedRelTo() in {vm,fsm}_extend() 2023-04-05 17:50:09 -07:00
ipc Pre-beta mechanical code beautification. 2023-05-19 17:24:48 -04:00
large_object Update copyright for 2023 2023-01-02 15:00:37 -05:00
lmgr Pre-beta mechanical code beautification. 2023-05-19 17:24:48 -04:00
page Introduce PG_IO_ALIGN_SIZE and align all I/O buffers. 2023-04-08 16:34:50 +12:00
smgr Pre-beta mechanical code beautification. 2023-05-19 17:24:48 -04:00
sync Remove useless casts to (void *) in hash_search() calls 2023-02-06 09:41:01 +01:00
Makefile Refactor the fsync queue for wider use. 2019-04-04 23:38:38 +13:00
meson.build Update copyright for 2023 2023-01-02 15:00:37 -05:00