Re: dumb question - Mailing list pgsql-general

From Michael Glaesemann
Subject Re: dumb question
Date
Msg-id C6C90610-12F2-4BFD-8FC3-2117121F1854@myrealbox.com
Whole thread Raw
In response to Re: dumb question  (Craig White <craigwhite@azapple.com>)
Responses Re: dumb question
List pgsql-general
On Feb 13, 2006, at 11:27 , Craig White wrote:

> th-db_test=> ALTER SCHEMA public OWNER TO tobyhouse;
> ERROR:  syntax error at or near "OWNER" at character 21
>
> # rpm -q postgresql-server
> postgresql-server-7.4.8-1.RHEL4.1

The docs I referred you to are for the current release. For earlier
releases, such as 7.4, you need to refer to the appropriate docs,
such as:

http://www.postgresql.org/docs/7.4/interactive/sql-alterschema.html

It appears that the ability to assign a new owner to a schema via
ALTER SCHEMA was introduced some time after 7.4.

You may be able to munge the system tables, but you may want to
consider upgrading your PostgreSQL server installation.

Michael Glaesemann
grzm myrealbox com


pgsql-general by date:

Previous
From: Craig White
Date:
Subject: Re: dumb question
Next
From: Craig White
Date:
Subject: Re: dumb question