Invalid field name in RLS description

Started by Alexander Lakhinover 9 years ago2 messagesdocs
Jump to latest
#1Alexander Lakhin
exclusion@gmail.com

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

Attachments:

ddl-rowsecurity_user_column.patchtext/x-patch; name=ddl-rowsecurity_user_column.patchDownload+2-2
#2Tom Lane
tgl@sss.pgh.pa.us
In reply to: Alexander Lakhin (#1)
Re: Invalid field name in RLS description

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

--
Sent via pgsql-docs mailing list (pgsql-docs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-docs