Re: dumb question

From: Michael Glaesemann <grzm(at)myrealbox(dot)com>
To: Craig White <craigwhite(at)azapple(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: dumb question
Date: 2006-02-13 02:39:18
Message-ID: C6C90610-12F2-4BFD-8FC3-2117121F1854@myrealbox.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Craig White 2006-02-13 02:47:11 Re: dumb question
Previous Message Craig White 2006-02-13 02:27:01 Re: dumb question