Changing a database owner on postgres 7.3 - Mailing list pgsql-admin

From Richard George
Subject Changing a database owner on postgres 7.3
Date
Msg-id BAY123-W19814FA014A611B13817F6C2620@phx.gbl
Whole thread Raw
Responses Re: Changing a database owner on postgres 7.3
List pgsql-admin
Hi all,
 
I'm trying to tweak a schema creation script that works on postgres 8.x so that it will run on postgres 7.3.
 
I've run into trouble attempting to change the owner of a particular database. The offending line is -
 
ALTER DATABASE test OWNER TO epg;

As I say, this works fine on postgres 8 but fails with the message "ERROR:  parser: parse error at or near "OWNER" at character 87" on postgres 7.3."
 
Can someone suggest an alternative way of changing the owner of a database for 7.3?
 
Cheers,
Richard.


Be one of the first to try Windows Live Mail.

pgsql-admin by date:

Previous
From: Roger Ging
Date:
Subject: Re: Broken pg_class table
Next
From: Devrim GUNDUZ
Date:
Subject: Re: Changing a database owner on postgres 7.3