Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Zbygx-00033u-ER for pgsql-committers@arkaria.postgresql.org; Tue, 15 Sep 2015 22:27:11 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1Zbygw-0004bv-RP for pgsql-committers@arkaria.postgresql.org; Tue, 15 Sep 2015 22:27:10 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1Zbygw-0004bW-3D for pgsql-committers@postgresql.org; Tue, 15 Sep 2015 22:27:10 +0000 Received: from tamriel.snowman.net ([2001:4830:167b::11]) by magus.postgresql.org with esmtp (Exim 4.84) (envelope-from ) id 1Zbygp-0004VV-7u for pgsql-committers@postgresql.org; Tue, 15 Sep 2015 22:27:09 +0000 Received: by tamriel.snowman.net (Postfix, from userid 1000) id 8C8765F79F; Tue, 15 Sep 2015 18:27:02 -0400 (EDT) Date: Tue, 15 Sep 2015 18:27:02 -0400 From: Stephen Frost To: Tom Lane Cc: pgsql-committers@postgresql.org Subject: Re: pgsql: RLS refactoring Message-ID: <20150915222702.GC3685@tamriel.snowman.net> References: <22678.1442348981@sss.pgh.pa.us> <20150915220002.GB3685@tamriel.snowman.net> <27001.1442355594@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="cWqS+ixoBB8AI9iU" Content-Disposition: inline In-Reply-To: <27001.1442355594@sss.pgh.pa.us> X-Editor: Vim http://www.vim.org/ X-Info: http://www.snowman.net X-Operating-System: Linux/3.13.0-61-generic (x86_64) X-Uptime: 18:25:32 up 42 days, 6:56, 3 users, load average: 0.05, 0.06, 0.05 User-Agent: Mutt/1.5.21 (2010-09-15) X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-committers Precedence: bulk Sender: pgsql-committers-owner@postgresql.org --cWqS+ixoBB8AI9iU Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable * Tom Lane (tgl@sss.pgh.pa.us) wrote: > Stephen Frost writes: > > * Tom Lane (tgl@sss.pgh.pa.us) wrote: > >> It looks to me like this changed the representation of stored rules, s= o it > >> should have included a catversion bump. This is particularly relevant= to > >> the 9.5 branch where people already have alpha installations. >=20 > > I had considererd if a bump was needed and figured it wasn't. >=20 > > 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. >=20 > 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 --cWqS+ixoBB8AI9iU Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCgAGBQJV+Js2AAoJEO1sijiDR2RViTgP/1GaWxJ1OBvKN1aStgI9iyKL 4t6UzCcOU/bMGPYtN39eqHTzKHPVt4KRza8Xg2A2Oreo0hO2RyiZAlqiPzpEJ/Fy BnY7B+HHrgnhPtnCZrvfrqDe4/VYjjxb+wYkpNHVgwUmOs6dF4GIEdfVKqW4abF/ zX4Ocrey/qXXkIA4WrzpX2YjAJIeeFcGRS8PTqIQ4qKbgDRJ+v5APzmpm6CFDLph B8d/jQ/RSd+IORI/ISVFdEbiM6HPD/aMnnkI5syEW4cd+CkrHTxtK+MBX7uuYGxK Y7F9p/C/NlbCkcb7/q9Z4tzo5OISfMfrJnWdMSQC8aQFS2Bc5rpoFUIUgdG9bcmc AkUYwZbRjALd8byqhDZY3uEohlsnCOmnMUOrl1qcve2VmUdMcUR8v9sQnFbZV0S9 pvP8ktC/3nYNWxxBeVRzx8XrtiNp7s4bbpaXrEcrxQAhp7qwofBSgo9eAUSzfMV0 4hyk0pdeQe7Q4aqyIvcmU6i7nRDOyTeyzGzL9GeafYESeEJ/WJpMahApRuLBj5lm gsaYENR4s3foXBdUUB6VGZM5uvPcRLGsjooE4B9s8983W0kN6WBd6cPpQrZKmU/g Zwr/mizVusR5Z3BWHAw05aKv/M2NhWCc6Mg2LqqH74bNi3z3Vh5/kNqkO9YOCuq6 crHhmoGi+zonPavSqZOg =/H8e -----END PGP SIGNATURE----- --cWqS+ixoBB8AI9iU--