From: Tom Lane <tgl@sss.pgh.pa.us>
To: Eric Comeau <ecomeau@signiant.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: How to get FK to use new index without restarting the database
Date: Thu, 16 Dec 2010 11:27:54 -0500
Message-ID: <22394.1292516874@sss.pgh.pa.us> (raw)
In-Reply-To: <iecvmj$1j93$1@news.hub.org>
References: <iecvmj$1j93$1@news.hub.org>
Eric Comeau <ecomeau@signiant.com> writes:
> Is there a way force the db to re-evaluate its execution plan for a FK
> without bouncing the DB?
> PostgreSQL 8.1.17
You don't need to bounce the whole DB, but you will need to start fresh
sessions. We didn't add automatic invalidation of those plans until 8.3.
regards, tom lane
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-performance@postgresql.org
Cc: tgl@sss.pgh.pa.us, ecomeau@signiant.com
Subject: Re: How to get FK to use new index without restarting the database
In-Reply-To: <22394.1292516874@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
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