From: Tom Lane <tgl@sss.pgh.pa.us>
To: Matthew Peters <matthew@haydrian.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: Stored procedure slower than sql?
Date: Thu, 26 Oct 2006 12:14:38 -0400
Message-ID: <21413.1161879278@sss.pgh.pa.us> (raw)
In-Reply-To: <775F825B46B551499DC75DC4E92F80AB564D00@jupiter.ad.haydrian.com>
References: <775F825B46B551499DC75DC4E92F80AB564D00@jupiter.ad.haydrian.com>
"Matthew Peters" <matthew@haydrian.com> writes:
> How can a stored procedure containing a single query not implement the
> same execution plan (assumption based on the dramatic performance
> difference) that an identical ad-hoc query generates?
Parameterized vs non parameterized query?
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, matthew@haydrian.com
Subject: Re: Stored procedure slower than sql?
In-Reply-To: <21413.1161879278@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