REASSIGN OWNED: consider grants on tablespaces, too

Alvaro Herrera <alvherre@alvh.no-ip.org>

Commit: da24920ab8ea6b22632103845c3c6126c8833ca6
Author: Alvaro Herrera <alvherre@alvh.no-ip.org>
Date: 2012-10-03T15:29:38Z
Releases: 9.2.2
REASSIGN OWNED: consider grants on tablespaces, too

Apparently this was considered in the original code (see commit
cec3b0a9) but I failed to notice that such entries would always be
skipped by the database check at the start of the loop.

Per bugs #7578 by Nikolay, #6116 by tushar.qa@gmail.com.

Files

PathChange+/−
src/backend/catalog/pg_shdepend.c modified +6 −2