> BTW, clusterdb is not schema-aware and will surely fail in any database

Bruce Momjian <bruce@momjian.us>

Commit: b2711a0aee509af9420a2e6e005739e8da3ce606
Author: Bruce Momjian <bruce@momjian.us>
Date: 2002-09-12T00:18:14Z
Releases: 7.3.1
> BTW, clusterdb is not schema-aware and will surely fail in any database
> where more than one schema is in use, because it doesn't trouble to
> schema-qualify table names.

Ok, the following patch should solve this concern.  It also tries to
connect as little times as possible (the previous one would connect one
time per table plus one per database; this one connects two times per
database).

Alvaro Herrera

Files

PathChange+/−
src/bin/scripts/clusterdb modified +24 −14