pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jeff Trout <threshar@torgo.978.org>
To: Steinar H. Gunderson <sgunderson@bigfoot.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: Looking for tips
Date: Tue, 19 Jul 2005 15:53:04 -0400
Message-ID: <654C15AD-4ADF-4792-8082-BE94ECF86F3A@torgo.978.org> (raw)
In-Reply-To: <20050719193601.GA21311@uio.no>
References: <1efd553a05071910427b290203@mail.gmail.com>
	<42DD3D55.9020508@commandprompt.com>
	<1efd553a050719112126b8d981@mail.gmail.com>
	<8446.1121799660@sss.pgh.pa.us>
	<1efd553a05071912111f6a3121@mail.gmail.com>
	<8613.1121800591@sss.pgh.pa.us>
	<20050719193601.GA21311@uio.no>


On Jul 19, 2005, at 3:36 PM, Steinar H. Gunderson wrote:

> On Tue, Jul 19, 2005 at 03:16:31PM -0400, Tom Lane wrote:
>
>> Ah, but are they really prepared, or is DBD::Pg faking it by  
>> inserting
>> parameter values into the query text and then sending the assembled
>> string as a fresh query?
>>
>
> They are really prepared.

That depends on what version you are using. Older versions did what  
Tom mentioned rather than sending PREPARE & EXECUTE.

Not sure what version that changed in.

--
Jeff Trout <jeff@jefftrout.com>
http://www.jefftrout.com/
http://www.stuarthamm.net/





view thread (28+ messages)  latest in thread

Message-ID: <654C15AD-4ADF-4792-8082-BE94ECF86F3A@torgo.978.org>
Permalink:  ../654C15AD-4ADF-4792-8082-BE94ECF86F3A@torgo.978.org/
Also on:    postgresql.org/message-id/654C15AD-4ADF-4792-8082-BE94ECF86F3A@torgo.978.org

 · 

reply

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: threshar@torgo.978.org, sgunderson@bigfoot.com
  Subject: Re: Looking for tips
  In-Reply-To: <654C15AD-4ADF-4792-8082-BE94ECF86F3A@torgo.978.org>

* 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