Re: Question on restoring and compiled plans - Mailing list pgsql-hackers

From Richard Huxton
Subject Re: Question on restoring and compiled plans
Date
Msg-id 200403191528.56259.dev@archonet.com
Whole thread Raw
In response to Re: Question on restoring and compiled plans  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On Friday 19 March 2004 15:04, Tom Lane wrote:
> Richard Huxton <dev@archonet.com> writes:
> > If I pg_restore a DB and don't ANALYSE before a pl/pgsql trigger
> > activates then that trigger's going to be planned based on the default
> > stats forever isn't it?
>
> Only for the life of the current backend(s).

Ah that's alright then. ANALYZE is usually the first thing I do after a 
restore anyway, but thought I'd check how important it was that I remember.

--  Richard Huxton Archonet Ltd


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: COPY formatting
Next
From: Fabien COELHO
Date:
Subject: looking for an 'array_index' function?