REASSIGN OWNED: consider grants on tablespaces, too

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

Commit: 412a4295b5390cfe4fd5b9fc84a25c6e2d1aa0ad
Author: Alvaro Herrera <alvherre@alvh.no-ip.org>
Date: 2012-10-03T15:29:12Z
Releases: 9.1.7
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