From: | "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com> |
---|---|
To: | Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com> |
Cc: | tarik(dot)dolovac(dot)sa(at)gmail(dot)com, "pgsql-docs(at)postgresql(dot)org" <pgsql-docs(at)postgresql(dot)org> |
Subject: | Re: Syntax for changing owner on sequence is not correct |
Date: | 2017-08-10 14:04:02 |
Message-ID: | CAKFQuwYrRX6cuaDHKRs6rVJo5YR9hiVKKaBzKdDq9qiruhB8yQ@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-docs |
On Thu, Aug 10, 2017 at 5:37 AM, Peter Eisentraut <
peter(dot)eisentraut(at)2ndquadrant(dot)com> wrote:
> On 8/9/17 05:35, tarik(dot)dolovac(dot)sa(at)gmail(dot)com wrote:
> > The following documentation comment has been logged on the website:
> >
> > Page: https://www.postgresql.org/docs/8.4/static/sql-altersequence.html
> > Description:
> >
> > Per documentation owner changing should use
> > owner to
> > this syntax doesn't work al 9.5 version
> > owned by
> > is working please correct because I spent over 3 hour until I figure out
> > what is the problem
>
> Are you saying that ALTER SEQUENCE ... OWNER TO doesn't work? It
> appears to work for everyone else.
>
Sequences can have two owners - a role and, optionally, a table.column.
The name following "OWNED BY" is a table.column (NONE to clear).
The name following "OWNER TO" is a role (mandatory).
David J.
From | Date | Subject | |
---|---|---|---|
Next Message | jrekins | 2017-08-10 19:48:15 | Dead link for 'DocBook DSSSL Stylesheets' |
Previous Message | Peter Eisentraut | 2017-08-10 12:37:25 | Re: Syntax for changing owner on sequence is not correct |