git.postgresql.org Git - postgresql.git/commit
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.
This is the main PostgreSQL git repository.
RSS
Atom