Re: pgsql: Fix plpgsql to re-look-up composite type names at need.

2019-08-15 Thread Pavel Stehule
Hi čt 15. 8. 2019 v 21:22 odesílatel Tom Lane napsal: > > > I'm slightly hesitant to back-patch this into v11, because it changes > the contents of struct PLpgSQL_type as well as the signature of > plpgsql_build_datatype(), so in principle it could break code that is > poking into the innards of

pgsql: Prevent possible double-free when update trigger returns old tup

2019-08-15 Thread Tom Lane
Prevent possible double-free when update trigger returns old tuple. This is a variant of the problem fixed in commit 25b692568, which unfortunately we failed to detect at the time. If an update trigger returns the "old" tuple, as it's entitled to do, then a subsequent iteration of the loop in Exe

pgsql: Prevent possible double-free when update trigger returns old tup

2019-08-15 Thread Tom Lane
Prevent possible double-free when update trigger returns old tuple. This is a variant of the problem fixed in commit 25b692568, which unfortunately we failed to detect at the time. If an update trigger returns the "old" tuple, as it's entitled to do, then a subsequent iteration of the loop in Exe

pgsql: Prevent possible double-free when update trigger returns old tup

2019-08-15 Thread Tom Lane
Prevent possible double-free when update trigger returns old tuple. This is a variant of the problem fixed in commit 25b692568, which unfortunately we failed to detect at the time. If an update trigger returns the "old" tuple, as it's entitled to do, then a subsequent iteration of the loop in Exe

pgsql: Prevent possible double-free when update trigger returns old tup

2019-08-15 Thread Tom Lane
Prevent possible double-free when update trigger returns old tuple. This is a variant of the problem fixed in commit 25b692568, which unfortunately we failed to detect at the time. If an update trigger returns the "old" tuple, as it's entitled to do, then a subsequent iteration of the loop in Exe

pgsql: Prevent possible double-free when update trigger returns old tup

2019-08-15 Thread Tom Lane
Prevent possible double-free when update trigger returns old tuple. This is a variant of the problem fixed in commit 25b692568, which unfortunately we failed to detect at the time. If an update trigger returns the "old" tuple, as it's entitled to do, then a subsequent iteration of the loop in Exe

pgsql: Prevent possible double-free when update trigger returns old tup

2019-08-15 Thread Tom Lane
Prevent possible double-free when update trigger returns old tuple. This is a variant of the problem fixed in commit 25b692568, which unfortunately we failed to detect at the time. If an update trigger returns the "old" tuple, as it's entitled to do, then a subsequent iteration of the loop in Exe

pgsql: Prevent possible double-free when update trigger returns old tup

2019-08-15 Thread Tom Lane
Prevent possible double-free when update trigger returns old tuple. This is a variant of the problem fixed in commit 25b692568, which unfortunately we failed to detect at the time. If an update trigger returns the "old" tuple, as it's entitled to do, then a subsequent iteration of the loop in Exe

pgsql: Fix plpgsql to re-look-up composite type names at need.

2019-08-15 Thread Tom Lane
Fix plpgsql to re-look-up composite type names at need. Commit 4b93f5799 rearranged things in plpgsql to make it cope better with composite types changing underneath it intra-session. However, I failed to consider the case of a composite type being dropped and recreated entirely. In my defense, t

pgsql: Fix plpgsql to re-look-up composite type names at need.

2019-08-15 Thread Tom Lane
Fix plpgsql to re-look-up composite type names at need. Commit 4b93f5799 rearranged things in plpgsql to make it cope better with composite types changing underneath it intra-session. However, I failed to consider the case of a composite type being dropped and recreated entirely. In my defense, t

pgsql: Fix plpgsql to re-look-up composite type names at need.

2019-08-15 Thread Tom Lane
Fix plpgsql to re-look-up composite type names at need. Commit 4b93f5799 rearranged things in plpgsql to make it cope better with composite types changing underneath it intra-session. However, I failed to consider the case of a composite type being dropped and recreated entirely. In my defense, t

pgsql: Use a hash table to de-duplicate NOTIFY events faster.

2019-08-15 Thread Tom Lane
Use a hash table to de-duplicate NOTIFY events faster. Previously, async.c got rid of duplicate notifications by scanning the list of pending events to compare each one to the proposed new event. This works okay for very small numbers of distinct events, but degrades as O(N^2) for many events. W

pgsql: Doc: improve documentation about postgresql.auto.conf.

2019-08-15 Thread Tom Lane
Doc: improve documentation about postgresql.auto.conf. Clarify what external tools can do to this file, and add a bit of detail about what ALTER SYSTEM itself does. Discussion: https://postgr.es/m/[email protected] Branch -- REL_12_STABLE Details ---

pgsql: Doc: improve documentation about postgresql.auto.conf.

2019-08-15 Thread Tom Lane
Doc: improve documentation about postgresql.auto.conf. Clarify what external tools can do to this file, and add a bit of detail about what ALTER SYSTEM itself does. Discussion: https://postgr.es/m/[email protected] Branch -- REL9_4_STABLE Details ---

pgsql: Doc: improve documentation about postgresql.auto.conf.

2019-08-15 Thread Tom Lane
Doc: improve documentation about postgresql.auto.conf. Clarify what external tools can do to this file, and add a bit of detail about what ALTER SYSTEM itself does. Discussion: https://postgr.es/m/[email protected] Branch -- REL_11_STABLE Details ---

pgsql: Doc: improve documentation about postgresql.auto.conf.

2019-08-15 Thread Tom Lane
Doc: improve documentation about postgresql.auto.conf. Clarify what external tools can do to this file, and add a bit of detail about what ALTER SYSTEM itself does. Discussion: https://postgr.es/m/[email protected] Branch -- master Details --- https:/

pgsql: Doc: improve documentation about postgresql.auto.conf.

2019-08-15 Thread Tom Lane
Doc: improve documentation about postgresql.auto.conf. Clarify what external tools can do to this file, and add a bit of detail about what ALTER SYSTEM itself does. Discussion: https://postgr.es/m/[email protected] Branch -- REL9_5_STABLE Details ---

pgsql: Doc: improve documentation about postgresql.auto.conf.

2019-08-15 Thread Tom Lane
Doc: improve documentation about postgresql.auto.conf. Clarify what external tools can do to this file, and add a bit of detail about what ALTER SYSTEM itself does. Discussion: https://postgr.es/m/[email protected] Branch -- REL_10_STABLE Details ---

pgsql: Doc: improve documentation about postgresql.auto.conf.

2019-08-15 Thread Tom Lane
Doc: improve documentation about postgresql.auto.conf. Clarify what external tools can do to this file, and add a bit of detail about what ALTER SYSTEM itself does. Discussion: https://postgr.es/m/[email protected] Branch -- REL9_6_STABLE Details ---