REASSIGN OWNED: consider grants on tablespaces, too

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

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