Unix Technical Forum

pgsql: Fix the code that adds regclass constants to a plan's list of

This is a discussion on pgsql: Fix the code that adds regclass constants to a plan's list of within the pgsql Committers forums, part of the PostgreSQL category; --> Log Message: ----------- Fix the code that adds regclass constants to a plan's list of relation OIDs that it ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > pgsql Committers

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 06-18-2008, 03:52 PM
Tom Lane
 
Posts: n/a
Default pgsql: Fix the code that adds regclass constants to a plan's list of

Log Message:
-----------
Fix the code that adds regclass constants to a plan's list of relation OIDs
that it depends on for replan-forcing purposes. We need to consider plain OID
constants too, because eval_const_expressions folds a RelabelType atop a Const
to just a Const. This change could result in OID values that aren't really
for tables getting added to the dependency list, but the worst-case
consequence would be occasional useless replans. Per report from Gabriele
Messineo.

Tags:
----
REL8_3_STABLE

Modified Files:
--------------
pgsql/src/backend/optimizer/plan:
setrefs.c (r1.141 -> r1.141.2.1)
(http://anoncvs.postgresql.org/cvsweb...1&r2=1.141.2.1)

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

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 10:14 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com