Re: pgsql: RLS refactoring

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: pgsql: RLS refactoring
Дата
Msg-id 27001.1442355594@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: pgsql: RLS refactoring  (Stephen Frost <sfrost@snowman.net>)
Ответы Re: pgsql: RLS refactoring  (Stephen Frost <sfrost@snowman.net>)
Список pgsql-committers
Stephen Frost <sfrost@snowman.net> writes:
> * Tom Lane (tgl@sss.pgh.pa.us) wrote:
>> 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.

> 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.

Oh, I see.  In that case you should remove WithCheckOption from the set of
node types supported by readfuncs.c, both because it's dead code and to
clarify that the node is not meant to ever end up on disk.

(outfuncs.c support is useful for debugging though, so keep that.)

            regards, tom lane


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

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