On 3/20/2007 1:11 PM, Tom Lane wrote:
Now that there's a mechanism in the backend that will automatically replan
queries whenever anything changes about the referenced tables, we have to
worry about whether an automatic replan might cause surprising changes in
the behavior of a query.  I looked through the available GUC settings to
see what would affect a replan, and came up with just four that would
potentially affect the semantics of the query:

        search_path
        add_missing_from
        transform_null_equals
        sql_inheritance

Don't we actually store the parsetree in the query cache, and doesn't that actually make a lot of the above rather NOT affect the resulting plan any more? The objects, used in the parsetree, are identified by OID and got only looked up according to the search_path (for example) during the initial parsing of the query.


Jan

--
#======================================================================#
# It's easier to get forgiveness for being wrong than for being right. #
# Let's break this rule - forgive me.                                  #
#================================================== [EMAIL PROTECTED] #

---------------------------(end of broadcast)---------------------------
TIP 3: Have you checked our extensive FAQ?

              http://www.postgresql.org/docs/faq

Reply via email to