pgsql: doc PG 18 relnotes: modify async I/O item for other improvements

2025-05-29 Thread Bruce Momjian
doc PG 18 relnotes: modify async I/O item for other improvements Add "etc." to indicate other actions will also be improved by asynchronous I/O. Reported-by: Melanie Plageman Discussion: https://postgr.es/m/CAAKRu_bqjgSYA+OdemL-X91Yv53OwsVARZy+-tRyj8YQ=kc...@mail.gmail.com Branch -- master

pgsql: Avoid resource leaks when a dblink connection fails.

2025-05-29 Thread Tom Lane
Avoid resource leaks when a dblink connection fails. If we hit out-of-memory between creating the PGconn and inserting it into dblink's hashtable, we'd lose track of the PGconn, which is quite bad since it represents a live connection to a remote DB. Fix by rearranging things so that we create the

pgsql: Avoid resource leaks when a dblink connection fails.

2025-05-29 Thread Tom Lane
Avoid resource leaks when a dblink connection fails. If we hit out-of-memory between creating the PGconn and inserting it into dblink's hashtable, we'd lose track of the PGconn, which is quite bad since it represents a live connection to a remote DB. Fix by rearranging things so that we create the

pgsql: Avoid resource leaks when a dblink connection fails.

2025-05-29 Thread Tom Lane
Avoid resource leaks when a dblink connection fails. If we hit out-of-memory between creating the PGconn and inserting it into dblink's hashtable, we'd lose track of the PGconn, which is quite bad since it represents a live connection to a remote DB. Fix by rearranging things so that we create the

pgsql: Avoid resource leaks when a dblink connection fails.

2025-05-29 Thread Tom Lane
Avoid resource leaks when a dblink connection fails. If we hit out-of-memory between creating the PGconn and inserting it into dblink's hashtable, we'd lose track of the PGconn, which is quite bad since it represents a live connection to a remote DB. Fix by rearranging things so that we create the

pgsql: Avoid resource leaks when a dblink connection fails.

2025-05-29 Thread Tom Lane
Avoid resource leaks when a dblink connection fails. If we hit out-of-memory between creating the PGconn and inserting it into dblink's hashtable, we'd lose track of the PGconn, which is quite bad since it represents a live connection to a remote DB. Fix by rearranging things so that we create the

pgsql: Avoid resource leaks when a dblink connection fails.

2025-05-29 Thread Tom Lane
Avoid resource leaks when a dblink connection fails. If we hit out-of-memory between creating the PGconn and inserting it into dblink's hashtable, we'd lose track of the PGconn, which is quite bad since it represents a live connection to a remote DB. Fix by rearranging things so that we create the

pgsql: Fix assertion failure in pg_prewarm() on objects without storage

2025-05-29 Thread Fujii Masao
Fix assertion failure in pg_prewarm() on objects without storage. An assertion test added in commit 049ef33 could fail when pg_prewarm() was called on objects without storage, such as partitioned tables. This resulted in the following failure in assert-enabled builds: Failed Assert("RelFileNu

pgsql: Fix assertion failure in pg_prewarm() on objects without storage

2025-05-29 Thread Fujii Masao
Fix assertion failure in pg_prewarm() on objects without storage. An assertion test added in commit 049ef33 could fail when pg_prewarm() was called on objects without storage, such as partitioned tables. This resulted in the following failure in assert-enabled builds: Failed Assert("RelFileNu