Re: Row security violation error is misleading
От
Peter Geoghegan
Тема
Re: Row security violation error is misleading
Дата
Msg-id
CAM3SWZTJhNbFCS9t7u+mS1ob_Jrwp1v9VTnGb4UBh8osgj14sg@mail.gmail.com
Ответ на
Row security violation error is misleading (Craig Ringer)
Список
Дерево обсуждения
Row security violation error is misleading Craig Ringer <craig@2ndquadrant.com>
Re: Row security violation error is misleading Stephen Frost <sfrost@snowman.net>
Re: Row security violation error is misleading Dean Rasheed <dean.a.rasheed@gmail.com>
Re: Row security violation error is misleading Stephen Frost <sfrost@snowman.net>
Re: Row security violation error is misleading Dean Rasheed <dean.a.rasheed@gmail.com>
Re: Row security violation error is misleading Craig Ringer <craig@2ndquadrant.com>
Re: Row security violation error is misleading Dean Rasheed <dean.a.rasheed@gmail.com>
Re: Row security violation error is misleading Craig Ringer <craig@2ndquadrant.com>
Re: Row security violation error is misleading Stephen Frost <sfrost@snowman.net>
Re: Row security violation error is misleading Stephen Frost <sfrost@snowman.net>
Re: Row security violation error is misleading Dean Rasheed <dean.a.rasheed@gmail.com>
Re: Row security violation error is misleading Stephen Frost <sfrost@snowman.net>
Re: Row security violation error is misleading Dean Rasheed <dean.a.rasheed@gmail.com>
Re: Row security violation error is misleading Stephen Frost <sfrost@snowman.net>
Re: Row security violation error is misleading Stephen Frost <sfrost@snowman.net>
Re: Row security violation error is misleading Dean Rasheed <dean.a.rasheed@gmail.com>
Re: Row security violation error is misleading Stephen Frost <sfrost@snowman.net>
Re: Row security violation error is misleading Dean Rasheed <dean.a.rasheed@gmail.com>
Re: Row security violation error is misleading Craig Ringer <craig@2ndquadrant.com>
Re: Row security violation error is misleading Dean Rasheed <dean.a.rasheed@gmail.com>
Re: Row security violation error is misleading Kevin Grittner <kgrittn@ymail.com>
Re: Row security violation error is misleading Stephen Frost <sfrost@snowman.net>
Re: Row security violation error is misleading Peter Geoghegan <pg@heroku.com>
On Tue, Apr 7, 2015 at 5:11 AM, Craig Ringer wrote:
> postgres=> INSERT INTO clients (account_name, account_manager) VALUES
> ('peters', 'peter'), ('johannas', 'johanna');
> ERROR: 44000: new row violates WITH CHECK OPTION for "clients"
> DETAIL: Failing row contains (7, johannas, johanna).
> LOCATION: ExecWithCheckOptions, execMain.c:1683
>
>
> ... yet "clients" is a table, not a view, and cannot have a WITH CHECK
> OPTION clause.
>
> There is no reference to the policy being violated or to the fact that it's
> row security involved.
FWIW, I also think that this is very confusing.
--
Peter Geoghegan
В списке pgsql-hackers по дате отправления
От: Peter Eisentraut
Дата: