Thread: Invalid field name in RLS description

Invalid field name in RLS description

From
Alexander Law
Date:
Hello,

It seems, that the RLS description supposes that the users table
contains the field "user", but it's a reserved keyword.
Patch attached. (The replacement "user_name" selected as corresponding
to the following examples).

Best regards,
Alexander


Attachment

Re: Invalid field name in RLS description

From
Tom Lane
Date:
Alexander Law <exclusion@gmail.com> writes:
> It seems, that the RLS description supposes that the users table
> contains the field "user", but it's a reserved keyword.
> Patch attached. (The replacement "user_name" selected as corresponding
> to the following examples).

Pushed; I also made a few more changes to make some nearby examples
consistent with that.

Also pushed the other typos you pointed out today.  Thanks for catching
them!

            regards, tom lane