Billal Mahmood <billal.mahmood@rolustech.com> writes:
> *Problem Summary:*
> I'm facing changing ownership issue for a DB and all its DB objects (DB,
> schema, tables, sequences etc ownership).
While there's no magic single statement for this, I think you'll find
that REASSIGN OWNED takes most of the drudgery out of it, if you have
the template database set up properly.
regards, tom lane