summaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorPeter Eisentraut2017-04-10 19:08:14 +0000
committerPeter Eisentraut2017-04-10 19:08:14 +0000
commit521fd4795e3ec3d0b263b62e5eb58e1557be9c86 (patch)
treebe08cb0716ac427b4037ea971365244438d22c70 /src/common
parentc45b1d2283c6631b990de25098ea389a1b96277a (diff)
Use weaker locks when updating pg_subscription_rel
The previously used ShareRowExclusiveLock, while technically probably more correct, led to deadlocks during seemingly unrelated operations and thus a poor experience. Use RowExclusiveLock, like for most similar catalog operations. In some care cases, the user might see an error from DDL commands. Discussion: https://www.postgresql.org/message-id/flat/13592.1490851519%40sss.pgh.pa.us Author: Petr Jelinek <petr.jelinek@2ndquadrant.com>
Diffstat (limited to 'src/common')
0 files changed, 0 insertions, 0 deletions