aboutsummaryrefslogtreecommitdiff
path: root/src/backend/commands/dbcommands.c
diff options
context:
space:
mode:
authorRobert Haas <rhaas@postgresql.org>2013-01-18 11:49:52 -0500
committerRobert Haas <rhaas@postgresql.org>2013-01-18 11:52:28 -0500
commitd8c3896626e9fa48c9ebadc31850d54a791a08e3 (patch)
tree4a5ccff6edddcb7b9d59289dcba8c171245f9f5f /src/backend/commands/dbcommands.c
parent600250d0ed8848391ceb8fb382c299d085856dbc (diff)
downloadpostgresql-d8c3896626e9fa48c9ebadc31850d54a791a08e3.tar.gz
postgresql-d8c3896626e9fa48c9ebadc31850d54a791a08e3.zip
Unbreak lock conflict detection for Hot Standby.
This got broken in the original fast-path locking patch, because I failed to account for the fact that Hot Standby startup process might take a strong relation lock on a relation in a database to which it is not bound, and confused MyDatabaseId with the database ID of the relation being locked. Report and diagnosis by Andres Freund. Final form of patch by me.
Diffstat (limited to 'src/backend/commands/dbcommands.c')
0 files changed, 0 insertions, 0 deletions