Re: pgsql: RLS refactoring

Поиск
Список
Период
Сортировка
От Stephen Frost
Тема Re: pgsql: RLS refactoring
Дата
Msg-id 20150915220002.GB3685@tamriel.snowman.net
обсуждение исходный текст
Ответ на Re: pgsql: RLS refactoring  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: pgsql: RLS refactoring  (Alvaro Herrera <alvherre@2ndquadrant.com>)
Re: pgsql: RLS refactoring  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-committers
* Tom Lane (tgl@sss.pgh.pa.us) wrote:
> Stephen Frost <sfrost@snowman.net> writes:
> > RLS refactoring
>
> It looks to me like this changed the representation of stored rules, so it
> should have included a catversion bump.  This is particularly relevant to
> the 9.5 branch where people already have alpha installations.

I had considererd if a bump was needed and figured it wasn't.

The WithCheckOption node which was changed doesn't ever end up in the
catalog, I don't believe; certainly not in pg_policy which just stores
the expressions which come from transformWhereClause, which haven't
changed.

I don't mind doing a bump if we feel it's necessary and maybe I'm
missing that there's a way to cause that node type to end up in the
catalog, but I don't think so, as we only ever build WithCheckOption
nodes in the rewriter.

Thanks!

Stephen

Вложения

В списке pgsql-committers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: pgsql: RLS refactoring
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: pgsql: RLS refactoring