git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: a6ce8ba) | patch
Avoid retaining multiple relation locks in RangeVarGetRelid.
2011年11月12日 06:22:45 +0000 (01:22 -0500)
2011年11月12日 06:22:45 +0000 (01:22 -0500)
commit aa3299f25601c1a27e52c1c49e92b7f11441e76b
Avoid retaining multiple relation locks in RangeVarGetRelid.

If it turns out we've locked the wrong OID, release the old lock. In
most cases, it's pretty harmless to retain the extra lock, but this
seems tidier and avoids using lock table slots unnecessarily.

Per discussion with Tom Lane.
src/backend/catalog/namespace.c diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /