pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andres Freund <andres@anarazel.de>
To: Vladimir Sitnikov <sitnikov.vladimir@gmail.com>
Cc: Marko Tiikkaja <marko@joh.to>
Cc: 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 15:43:18 +0100
Message-ID: <20160113144318.7jcsd5wldolczjb5@alap3.anarazel.de> (raw)
In-Reply-To: <CAB=Je-FrTD=M3hMY2qcE8o-tSUpqnkHEwLpY2p-PkJSZS7+yxQ@mail.gmail.com>
References: <56965183.1080707@joh.to>
	<CAB=Je-EDpHs=yfvQ69cZrSytjwG-fi3QN72=xLRQxsd=kU6QOQ@mail.gmail.com>
	<56965579.1020909@joh.to>
	<CAB=Je-HpQMenktudo7nWWH-YO2034cpx+Djm9Rp3MrLe_mbSgg@mail.gmail.com>
	<895FBF7B-D59B-4F58-A8B7-4F78C6A1D527@anarazel.de>
	<CAB=Je-Gqj_vAxu7uYd0oS-DYvnJHpCPVeARebLGmUD+dNpW6Ew@mail.gmail.com>
	<5696604E.2030903@joh.to>
	<CAB=Je-GazsaWgxQyRW_E=w7938vZH0Xm2gd7jhxE8y+2ixi_mg@mail.gmail.com>
	<569660D9.7010107@joh.to>
	<CAB=Je-FrTD=M3hMY2qcE8o-tSUpqnkHEwLpY2p-PkJSZS7+yxQ@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>

On 2016-01-13 17:38:22 +0300, Vladimir Sitnikov wrote:
> >so you don't get to (or want to) have any control over the underlying prepared statement.
> 
> That is pl/pgsql's problem, isn't it?
> In the mean time, user can use different query texts (e.g. by adding
> offset 0, offset 0*1, offset 0*2, etc kind of stuff they typically use
> to tune queries) to convince plpgsql to use different statement ids.

Basically you're arguing to fix one specific edge case which bugs you
personally, by creating a lot of others, which don't bug you. Not
convincing.

Andres Freund


-- 
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: <20160113144318.7jcsd5wldolczjb5@alap3.anarazel.de>
Permalink:  ../20160113144318.7jcsd5wldolczjb5@alap3.anarazel.de/
Also on:    postgresql.org/message-id/20160113144318.7jcsd5wldolczjb5@alap3.anarazel.de

 · 

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: andres@anarazel.de, sitnikov.vladimir@gmail.com, marko@joh.to, 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: <20160113144318.7jcsd5wldolczjb5@alap3.anarazel.de>
  References: <56965183.1080707@joh.to> <CAB=Je-EDpHs=yfvQ69cZrSytjwG-fi3QN72=xLRQxsd=kU6QOQ@mail.gmail.com> <56965579.1020909@joh.to> <CAB=Je-HpQMenktudo7nWWH-YO2034cpx+Djm9Rp3MrLe_mbSgg@mail.gmail.com> <895FBF7B-D59B-4F58-A8B7-4F78C6A1D527@anarazel.de> <CAB=Je-Gqj_vAxu7uYd0oS-DYvnJHpCPVeARebLGmUD+dNpW6Ew@mail.gmail.com> <5696604E.2030903@joh.to> <CAB=Je-GazsaWgxQyRW_E=w7938vZH0Xm2gd7jhxE8y+2ixi_mg@mail.gmail.com> <569660D9.7010107@joh.to> <CAB=Je-FrTD=M3hMY2qcE8o-tSUpqnkHEwLpY2p-PkJSZS7+yxQ@mail.gmail.com> <20160113144318.7jcsd5wldolczjb5@alap3.anarazel.de>

* 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