From: | Tarik Dolovac <tarik(dot)dolovac(dot)sa(at)gmail(dot)com> |
---|---|
To: | "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com> |
Cc: | Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(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-24 18:25:13 |
Message-ID: | FCCE3692-5A3E-4C25-9325-7FBD3FF42811@gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-docs |
I am just telling you that in your officiall documentation i didn't find that command. I founded oj stack owerflow and when i changed command I succesfully changed owner. Also one more hit: documentation will be much better with examples. I am DBA for a 7 years on ms sql and oracle and they have examples which can make life more easily if you are starting with some new tehnologies like postgres.
Kind regards,
Tarik Dolovac
Sent from my iPhone
> On 10 Aug 2017, at 16:04, David G. Johnston <david(dot)g(dot)johnston(at)gmail(dot)com> wrote:
>
>> 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 | David G. Johnston | 2017-08-24 18:51:59 | Re: Syntax for changing owner on sequence is not correct |
Previous Message | Tom Lane | 2017-08-24 12:32:28 | Re: Useful documentation removed from 9.5 docs |