REASSIGN OWNED: consider grants on tablespaces, too

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

Commit: bec6e6cdfaa8987e82c328bf72cdc30d517e09f1
Author: Alvaro Herrera <alvherre@alvh.no-ip.org>
Date: 2012-10-03T15:28:33Z
Releases: 9.0.11
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