Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1aJMX8-0001HO-2i for pgsql-hackers@arkaria.postgresql.org; Wed, 13 Jan 2016 14:36:22 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1aJMX7-0006Mj-GC for pgsql-hackers@arkaria.postgresql.org; Wed, 13 Jan 2016 14:36:21 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1aJMX6-0006KP-H1 for pgsql-hackers@postgresql.org; Wed, 13 Jan 2016 14:36:20 +0000 Received: from mail-lf0-x236.google.com ([2a00:1450:4010:c07::236]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84) (envelope-from ) id 1aJMWz-0005hb-J4 for pgsql-hackers@postgresql.org; Wed, 13 Jan 2016 14:36:19 +0000 Received: by mail-lf0-x236.google.com with SMTP id c192so256629597lfe.2 for ; Wed, 13 Jan 2016 06:36:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=joh-to.20150623.gappssmtp.com; s=20150623; h=subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-type:content-transfer-encoding; bh=3+guMb43CwuOWvS+xf18OkusPAcvl2oa7h8IZ94jwYo=; b=yfD0H0jyKuOw9YcXebLrLvXsuj8L8jgs++Ln4UbE0Hhht1tTu50DRfzFRGA6Yrz8H9 MReuW2k/FZA/DTOgCFQIM3/W6dCFLC73FRzaKjFk8W4Nqike8M+mUXwbAwU1vs9J4nul Lmv4tSOa1He60SBp43HrE0sX3qvuC3zdnucefUCbkcpJ5m55W2fbJHPkW3fPkOgTDSfh IMloz6Yd59kGWK6nIt/RmIPQAubCmO0ZKpxpbgz6Xuj+dzrs/o+T43O32+6qlamJAUKK 4GiomxFK0pXxB6qZIekFxotNfyk5N0j1eHW1gZcMNeUHuXquxh5h7Qgh+PwLlIiSlO3z 3tzg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:cc:from:message-id:date :user-agent:mime-version:in-reply-to:content-type :content-transfer-encoding; bh=3+guMb43CwuOWvS+xf18OkusPAcvl2oa7h8IZ94jwYo=; b=kEgthp9ggx42GbEPK/TrMmRa5ba4+XqsuqAS6PUFqsgQtZP8RQ6ncvR8WnZ6g4pvTg L2d40JPXiNpEsaDnPEVVkF86Kz90hUxisb57rRJd1dMVM9ks05YR5b4nsKXy0kd1tUxr vWJp0/FkuKcTuXbIO3GdwcewkiaekaXo3xcoR9stgojorNsJUKIRPzhsAI+dFPd1Ncp6 +s5V4/i17IqsoGCgXhnoJvMir9Ad5yuem1CrjvJ2meAJyFIJIWYPwUlJpRe4VG/AIflK 5vhQRRNWd9PXoJ8VJqv2vlDYf8dw6Njefsvtz3OmkFUhOhBFsS+IXH230EWZLGLnYAFE +rHw== X-Gm-Message-State: ALoCoQl4SDWSBQtQulo0HBXHld8xXp4mDqM22fz7T4Iw/ndyf4VVuzYHUQQT/iGlsVj8zr7twpQllpfFlzL79qKXbEj6O2G5tg== X-Received: by 10.25.143.143 with SMTP id r137mr48246844lfd.93.1452695771571; Wed, 13 Jan 2016 06:36:11 -0800 (PST) Received: from Markos-MacBook-Pro.local ([46.246.117.202]) by smtp.googlemail.com with ESMTPSA id rk1sm230802lbb.0.2016.01.13.06.36.10 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 13 Jan 2016 06:36:11 -0800 (PST) Subject: Re: Fwd: [JDBC] Re: 9.4-1207 behaves differently with server side prepared statements compared to 9.2-1102 To: Vladimir Sitnikov References: <56965183.1080707@joh.to> <56965579.1020909@joh.to> <895FBF7B-D59B-4F58-A8B7-4F78C6A1D527@anarazel.de> <5696604E.2030903@joh.to> Cc: Andres Freund , Pavel Stehule , Albe Laurenz , PostgreSQL-development , Dave Cramer From: Marko Tiikkaja Message-ID: <569660D9.7010107@joh.to> Date: Wed, 13 Jan 2016 15:36:09 +0100 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -2.6 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org On 13/01/16 15:34, Vladimir Sitnikov wrote: >> This completely screws over PL/PgSQL, among other things. > > Can you elaborate a bit? You just write a query like this: SELECT * FROM foo WHERE bar = _Variable; so you don't get to (or want to) have any control over the underlying prepared statement. .m -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers