pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Marko Tiikkaja <marko@joh.to>
To: Vladimir Sitnikov <sitnikov.vladimir@gmail.com>
To: Pavel Stehule <pavel.stehule@gmail.com>
Cc: Albe Laurenz <laurenz.albe@wien.gv.at>
Cc: PostgreSQL-development <pgsql-hackers@postgresql.org>
Cc: Dave Cramer <pg@fastcrypt.com>
Subject: Re: Fwd: [JDBC] Re: 9.4-1207 behaves differently with server side prepared statements compared to 9.2-1102
Date: Wed, 13 Jan 2016 14:30:43 +0100
Message-ID: <56965183.1080707@joh.to> (raw)
In-Reply-To: <CAB=Je-FOg=QnHXfP6_RpCRzho74NrhboYN2Bvg_uaZ93rsYx-A@mail.gmail.com>
References: <n708gj$348$1@ger.gmane.org>
	<n70f5b$j8k$1@ger.gmane.org>
	<CADK3HHJFGjNXJns4exfw_NMGvKAR-1g2RTwvHcbVKK65kuHgEg@mail.gmail.com>
	<n72fhe$cf8$1@ger.gmane.org>
	<CADK3HHLn46DhtfgsnLnpvFhZHHnj3x3vohmF9V53RRtbFacK4w@mail.gmail.com>
	<5694EE5B.1030203@joh.to>
	<CADK3HHKd0n-42ZnVA=X-m4Dxg5Tvrgb+4xGX7T1iuBnXHPNxQw@mail.gmail.com>
	<CAB=Je-G_oBsdrjWuPNsb0jcQ9X1A9jygCnKZW2izejoYG5YoeA@mail.gmail.com>
	<A737B7A37273E048B164557ADEF4A58B537B3510@ntex2010i.host.magwien.gv.at>
	<CAB=Je-G-LrJwDX4HjWdtgh0HtW1w4By+DoQBEvELE7wiYBtW5g@mail.gmail.com>
	<CAFj8pRB5+R0HHaBUPHA7aiLYzitoRJYYC7NFFHWKM=JzoT0pyw@mail.gmail.com>
	<CAB=Je-FzFg-gKq8RUkEiXG=XDcXwoZa+Rn8o7XzwNjjJ3_rNJA@mail.gmail.com>
	<CAFj8pRC3PUgJC85YS1b4iskWT=VB4-wvU=PBF0TJRyLBWgPmGQ@mail.gmail.com>
	<CAB=Je-HG1=VBixViLtL4UZgqz15Ou5p0nffq19soP=sVK5ghLg@mail.gmail.com>
	<CAFj8pRDb9noda3rhcZ_sniH2g=_qRminN6pt=NHDBUmDY6m4OQ@mail.gmail.com>
	<CAB=Je-FOg=QnHXfP6_RpCRzho74NrhboYN2Bvg_uaZ93rsYx-A@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>

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


-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers



view thread (72+ messages)  latest in thread

Message-ID: <56965183.1080707@joh.to>
Permalink:  ../56965183.1080707@joh.to/
Also on:    postgresql.org/message-id/56965183.1080707@joh.to

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: marko@joh.to, sitnikov.vladimir@gmail.com, pavel.stehule@gmail.com, laurenz.albe@wien.gv.at, pgsql-hackers@postgresql.org, pg@fastcrypt.com
  Subject: Re: Fwd: [JDBC] Re: 9.4-1207 behaves differently with server side prepared statements compared to 9.2-1102
  In-Reply-To: <56965183.1080707@joh.to>
  References: <n708gj$348$1@ger.gmane.org> <n70f5b$j8k$1@ger.gmane.org> <CADK3HHJFGjNXJns4exfw_NMGvKAR-1g2RTwvHcbVKK65kuHgEg@mail.gmail.com> <n72fhe$cf8$1@ger.gmane.org> <CADK3HHLn46DhtfgsnLnpvFhZHHnj3x3vohmF9V53RRtbFacK4w@mail.gmail.com> <5694EE5B.1030203@joh.to> <CADK3HHKd0n-42ZnVA=X-m4Dxg5Tvrgb+4xGX7T1iuBnXHPNxQw@mail.gmail.com> <CAB=Je-G_oBsdrjWuPNsb0jcQ9X1A9jygCnKZW2izejoYG5YoeA@mail.gmail.com> <A737B7A37273E048B164557ADEF4A58B537B3510@ntex2010i.host.magwien.gv.at> <CAB=Je-G-LrJwDX4HjWdtgh0HtW1w4By+DoQBEvELE7wiYBtW5g@mail.gmail.com> <CAFj8pRB5+R0HHaBUPHA7aiLYzitoRJYYC7NFFHWKM=JzoT0pyw@mail.gmail.com> <CAB=Je-FzFg-gKq8RUkEiXG=XDcXwoZa+Rn8o7XzwNjjJ3_rNJA@mail.gmail.com> <CAFj8pRC3PUgJC85YS1b4iskWT=VB4-wvU=PBF0TJRyLBWgPmGQ@mail.gmail.com> <CAB=Je-HG1=VBixViLtL4UZgqz15Ou5p0nffq19soP=sVK5ghLg@mail.gmail.com> <CAFj8pRDb9noda3rhcZ_sniH2g=_qRminN6pt=NHDBUmDY6m4OQ@mail.gmail.com> <CAB=Je-FOg=QnHXfP6_RpCRzho74NrhboYN2Bvg_uaZ93rsYx-A@mail.gmail.com> <56965183.1080707@joh.to>

* 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