Re: Effects of GUC settings on automatic replans

Поиск
Список
Период
Сортировка
От Jan Wieck
Тема Re: Effects of GUC settings on automatic replans
Дата
Msg-id 46016DD6.9060807@Yahoo.com
обсуждение исходный текст
Ответ на Effects of GUC settings on automatic replans  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Effects of GUC settings on automatic replans  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
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.                                  #
#================================================== JanWieck@Yahoo.com #


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: CREATE INDEX and HOT - revised design
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: CREATE INDEX and HOT - revised design