From: Richard George <rcgeorge23@hotmail.com>
To: pgsql-admin@postgresql.org
Subject: Changing a database owner on postgres 7.3
Date: Mon, 17 Jul 2006 12:33:04 +0000
Message-ID: <BAY123-W19814FA014A611B13817F6C2620@phx.gbl> (raw)
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.
http://ideas.live.com/programpage.aspx?versionId=5d21c51a-b161-4314-9b0e-4911fb2b2e6d=
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: rcgeorge23@hotmail.com
Subject: Re: Changing a database owner on postgres 7.3
In-Reply-To: <BAY123-W19814FA014A611B13817F6C2620@phx.gbl>
References: <BAY123-W19814FA014A611B13817F6C2620@phx.gbl>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox