pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: Fix problems related to RangeTblEntry members enrname and enrtup
5+ messages / 3 participants
[nested] [flat]

* pgsql: Fix problems related to RangeTblEntry members enrname and enrtup
@ 2017-06-14 20:24 Robert Haas <rhaas@postgresql.org>
  2017-06-14 20:30 ` Re: pgsql: Fix problems related to RangeTblEntry members enrname and enrtup Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 1 reply; 5+ messages in thread

From: Robert Haas @ 2017-06-14 20:24 UTC (permalink / raw)
  To: pgsql-committers

Fix problems related to RangeTblEntry members enrname and enrtuples.

Commit 18ce3a4ab22d2984f8540ab480979c851dae5338 failed to update
the comments in parsenodes.h for the new members, and made only
incomplete updates to src/backend/nodes

Thomas Munro, per a report from Noah Misch.

Discussion: http://postgr.es/m/20170611062525.GA1628882@rfd.leadboat.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/f32d57fd7088a558dadbe21b9859b09d2f877c19

Modified Files
--------------
src/backend/nodes/copyfuncs.c  |  3 ++-
src/backend/nodes/equalfuncs.c |  2 ++
src/backend/nodes/outfuncs.c   |  1 +
src/backend/nodes/readfuncs.c  |  1 +
src/include/nodes/parsenodes.h | 14 +++++++++++++-
5 files changed, 19 insertions(+), 2 deletions(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


^ permalink  raw  reply  [nested|flat] 5+ messages in thread

* Re: pgsql: Fix problems related to RangeTblEntry members enrname and enrtup
  2017-06-14 20:24 pgsql: Fix problems related to RangeTblEntry members enrname and enrtup Robert Haas <rhaas@postgresql.org>
@ 2017-06-14 20:30 ` Tom Lane <tgl@sss.pgh.pa.us>
  2017-06-15 14:10   ` Re: pgsql: Fix problems related to RangeTblEntry members enrname and enrtup Robert Haas <robertmhaas@gmail.com>
  0 siblings, 1 reply; 5+ messages in thread

From: Tom Lane @ 2017-06-14 20:30 UTC (permalink / raw)
  To: Robert Haas <rhaas@postgresql.org>; +Cc: pgsql-committers

Robert Haas <rhaas@postgresql.org> writes:
> Fix problems related to RangeTblEntry members enrname and enrtuples.
> Commit 18ce3a4ab22d2984f8540ab480979c851dae5338 failed to update
> the comments in parsenodes.h for the new members, and made only
> incomplete updates to src/backend/nodes

This really should have involved a catversion bump.  But we just
had one earlier today, so in practice it might not matter.

			regards, tom lane


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers



^ permalink  raw  reply  [nested|flat] 5+ messages in thread

* Re: pgsql: Fix problems related to RangeTblEntry members enrname and enrtup
  2017-06-14 20:24 pgsql: Fix problems related to RangeTblEntry members enrname and enrtup Robert Haas <rhaas@postgresql.org>
  2017-06-14 20:30 ` Re: pgsql: Fix problems related to RangeTblEntry members enrname and enrtup Tom Lane <tgl@sss.pgh.pa.us>
@ 2017-06-15 14:10   ` Robert Haas <robertmhaas@gmail.com>
  2017-06-15 14:17     ` Re: pgsql: Fix problems related to RangeTblEntry members enrname and enrtup Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 1 reply; 5+ messages in thread

From: Robert Haas @ 2017-06-15 14:10 UTC (permalink / raw)
  To: Tom Lane <tgl@sss.pgh.pa.us>; +Cc: pgsql-committers

On Wed, Jun 14, 2017 at 4:30 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Robert Haas <rhaas@postgresql.org> writes:
>> Fix problems related to RangeTblEntry members enrname and enrtuples.
>> Commit 18ce3a4ab22d2984f8540ab480979c851dae5338 failed to update
>> the comments in parsenodes.h for the new members, and made only
>> incomplete updates to src/backend/nodes
>
> This really should have involved a catversion bump.  But we just
> had one earlier today, so in practice it might not matter.

Oh, because of stored rules using the old RangeTblEntry serialization
format?  Sorry, I totally missed that.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers



^ permalink  raw  reply  [nested|flat] 5+ messages in thread

* Re: pgsql: Fix problems related to RangeTblEntry members enrname and enrtup
  2017-06-14 20:24 pgsql: Fix problems related to RangeTblEntry members enrname and enrtup Robert Haas <rhaas@postgresql.org>
  2017-06-14 20:30 ` Re: pgsql: Fix problems related to RangeTblEntry members enrname and enrtup Tom Lane <tgl@sss.pgh.pa.us>
  2017-06-15 14:10   ` Re: pgsql: Fix problems related to RangeTblEntry members enrname and enrtup Robert Haas <robertmhaas@gmail.com>
@ 2017-06-15 14:17     ` Tom Lane <tgl@sss.pgh.pa.us>
  2017-06-15 14:47       ` Re: pgsql: Fix problems related to RangeTblEntry members enrname and enrtup Robert Haas <robertmhaas@gmail.com>
  0 siblings, 1 reply; 5+ messages in thread

From: Tom Lane @ 2017-06-15 14:17 UTC (permalink / raw)
  To: Robert Haas <robertmhaas@gmail.com>; +Cc: pgsql-committers

Robert Haas <robertmhaas@gmail.com> writes:
> On Wed, Jun 14, 2017 at 4:30 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> This really should have involved a catversion bump.  But we just
>> had one earlier today, so in practice it might not matter.

> Oh, because of stored rules using the old RangeTblEntry serialization
> format?  Sorry, I totally missed that.

Yeah, exactly.  In practice I'm not sure a stored rule/view could contain
an RTE_NAMEDTUPLESTORE RangeTblEntry, but if it did, there'd be a problem.

			regards, tom lane


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers



^ permalink  raw  reply  [nested|flat] 5+ messages in thread

* Re: pgsql: Fix problems related to RangeTblEntry members enrname and enrtup
  2017-06-14 20:24 pgsql: Fix problems related to RangeTblEntry members enrname and enrtup Robert Haas <rhaas@postgresql.org>
  2017-06-14 20:30 ` Re: pgsql: Fix problems related to RangeTblEntry members enrname and enrtup Tom Lane <tgl@sss.pgh.pa.us>
  2017-06-15 14:10   ` Re: pgsql: Fix problems related to RangeTblEntry members enrname and enrtup Robert Haas <robertmhaas@gmail.com>
  2017-06-15 14:17     ` Re: pgsql: Fix problems related to RangeTblEntry members enrname and enrtup Tom Lane <tgl@sss.pgh.pa.us>
@ 2017-06-15 14:47       ` Robert Haas <robertmhaas@gmail.com>
  0 siblings, 0 replies; 5+ messages in thread

From: Robert Haas @ 2017-06-15 14:47 UTC (permalink / raw)
  To: Tom Lane <tgl@sss.pgh.pa.us>; +Cc: pgsql-committers

On Thu, Jun 15, 2017 at 10:17 AM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Robert Haas <robertmhaas@gmail.com> writes:
>> On Wed, Jun 14, 2017 at 4:30 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>>> This really should have involved a catversion bump.  But we just
>>> had one earlier today, so in practice it might not matter.
>
>> Oh, because of stored rules using the old RangeTblEntry serialization
>> format?  Sorry, I totally missed that.
>
> Yeah, exactly.  In practice I'm not sure a stored rule/view could contain
> an RTE_NAMEDTUPLESTORE RangeTblEntry, but if it did, there'd be a problem.

I think that's not possible, so we're probably fine, even apart from
the fact that we've bumped catversion multiple times since beta1.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers



^ permalink  raw  reply  [nested|flat] 5+ messages in thread


end of thread, other threads:[~2017-06-15 14:47 UTC | newest]

Thread overview: 5+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2017-06-14 20:24 pgsql: Fix problems related to RangeTblEntry members enrname and enrtup Robert Haas <rhaas@postgresql.org>
2017-06-14 20:30 ` Tom Lane <tgl@sss.pgh.pa.us>
2017-06-15 14:10   ` Robert Haas <robertmhaas@gmail.com>
2017-06-15 14:17     ` Tom Lane <tgl@sss.pgh.pa.us>
2017-06-15 14:47       ` Robert Haas <robertmhaas@gmail.com>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox