REASSIGN OWNED: consider grants on tablespaces, too

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

Commit: 2a36a724f8032ee5abd008956d2c2495fb57a656
Author: Alvaro Herrera <alvherre@alvh.no-ip.org>
Date: 2012-10-03T15:22:41Z
Releases: 8.3.22
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