From: | Marko Tiikkaja <marko(at)joh(dot)to> |
---|---|
To: | Vladimir Sitnikov <sitnikov(dot)vladimir(at)gmail(dot)com>, Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com> |
Cc: | Albe Laurenz <laurenz(dot)albe(at)wien(dot)gv(dot)at>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>, Dave Cramer <pg(at)fastcrypt(dot)com> |
Subject: | Re: Fwd: [JDBC] Re: 9.4-1207 behaves differently with server side prepared statements compared to 9.2-1102 |
Date: | 2016-01-13 13:30:43 |
Message-ID: | 56965183.1080707@joh.to |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers pgsql-jdbc |
On 13/01/16 14:27, Vladimir Sitnikov wrote:
> TL;DR: I suggest to create "generic plan" with regard to current bind values.
> What's wrong with that approach?
I don't understand how this is supposed to work. Say you already have a
plan which looks like this:
Seq Scan on foo (cost=0.00..100.00 rows=1 width=630)
Filter: (bar = $1)
Now the plan gets invoked with $1 = 5. What exactly in your mind would
happen here?
.m
From | Date | Subject | |
---|---|---|---|
Next Message | Vladimir Sitnikov | 2016-01-13 13:36:06 | Re: Fwd: [JDBC] Re: 9.4-1207 behaves differently with server side prepared statements compared to 9.2-1102 |
Previous Message | Fabien COELHO | 2016-01-13 13:28:10 | Re: extend pgbench expressions with functions |
From | Date | Subject | |
---|---|---|---|
Next Message | Vladimir Sitnikov | 2016-01-13 13:36:06 | Re: Fwd: [JDBC] Re: 9.4-1207 behaves differently with server side prepared statements compared to 9.2-1102 |
Previous Message | Marko Tiikkaja | 2016-01-13 13:28:05 | Re: Fwd: [JDBC] Re: 9.4-1207 behaves differently with server side prepared statements compared to 9.2-1102 |