Re: pgsql: RLS refactoring

From: Stephen Frost <sfrost(at)snowman(dot)net>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-committers(at)postgresql(dot)org
Subject: Re: pgsql: RLS refactoring
Date: 2015-09-15 22:27:02
Message-ID: 20150915222702.GC3685@tamriel.snowman.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers pgsql-hackers

* Tom Lane (tgl(at)sss(dot)pgh(dot)pa(dot)us) wrote:
> Stephen Frost <sfrost(at)snowman(dot)net> writes:
> > * Tom Lane (tgl(at)sss(dot)pgh(dot)pa(dot)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.

Yeah, I was just thinking the same.

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

Right, makes sense.

I should be able to get to that tomorrow afternoon, til then I'm pretty
tied up with PostgresOpen.

Thanks!

Stephen

In response to

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2015-09-15 22:29:44 Re: pgsql: RLS refactoring
Previous Message Tom Lane 2015-09-15 22:19:54 Re: pgsql: RLS refactoring

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2015-09-15 22:29:44 Re: pgsql: RLS refactoring
Previous Message Tom Lane 2015-09-15 22:19:54 Re: pgsql: RLS refactoring