pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: James Mansion <james@mansionfamily.plus.com>
To: Dave Cramer <pg@fastcrypt.com>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Guillaume Smet <guillaume.smet@gmail.com>
Cc: Guillaume Cottenceau <gc@mnc.ch>
Cc: Mario Splivalo <mario.splivalo@megafon.hr>
Cc: pgsql-performance@postgresql.org
Cc: pgsql-jdbc@postgreSQL.org
Subject: Re: [PERFORM] Query much slower when run from postgres function
Date: Mon, 09 Mar 2009 20:35:14 +0000
Message-ID: <49B57D82.4030706@mansionfamily.plus.com> (raw)
In-Reply-To: <491f66a50903091256n7fe4a3f6i93267d0d53b983cb@mail.gmail.com>
References: <49B51B60.6030600@megafon.hr>
	<27649.1236616294@sss.pgh.pa.us>
	<87fxhmmygj.fsf@meuh.mnc.lan>
	<1d4e0c10903091004m758d7ea2s91e33631be81215a@mail.gmail.com>
	<5165.1236618994@sss.pgh.pa.us>
	<491f66a50903091256n7fe4a3f6i93267d0d53b983cb@mail.gmail.com>


>
> The driver will use unnamed statements for all statements until it 
> sees the same statement N times where N is 5 I believe, after that it 
> uses a named statement.
>
>
Shame there's no syntax for it to pass the a table of the parameters to 
the server when it creates the named statement as planner hints.

James





view thread (26+ messages)  latest in thread

Message-ID: <49B57D82.4030706@mansionfamily.plus.com>
Permalink:  ../49B57D82.4030706@mansionfamily.plus.com/
Also on:    postgresql.org/message-id/49B57D82.4030706@mansionfamily.plus.com

 · 

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: james@mansionfamily.plus.com, pg@fastcrypt.com, tgl@sss.pgh.pa.us, guillaume.smet@gmail.com, gc@mnc.ch, mario.splivalo@megafon.hr, pgsql-jdbc@postgreSQL.org
  Subject: Re: [PERFORM] Query much slower when run from postgres function
  In-Reply-To: <49B57D82.4030706@mansionfamily.plus.com>

* 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