Bruno Wolff III wrote:
> On Fri, Feb 03, 2006 at 15:48:35 -0800,
> David Lutterkort <dlutter@redhat.com> wrote:
> > [start as root]
> > su - postgres
> > psql
> > \connect DBNAME DBUSER
> > \i script.sql
Instead of using \connect, use SET SESSION AUTHORIZATION (and connect to
the right database in the first place).
--
Alvaro Herrera http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.