Received: from localhost (unknown [200.46.204.187]) by postgresql.org (Postfix) with ESMTP id C3FE39F9E69 for ; Tue, 2 Oct 2007 17:22:26 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.187]) (amavisd-maia, port 10024) with ESMTP id 30796-01 for ; Tue, 2 Oct 2007 17:22:17 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.5 Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.189]) by postgresql.org (Postfix) with ESMTP id 90DF89F9D08 for ; Tue, 2 Oct 2007 17:22:20 -0300 (ADT) Received: by nf-out-0910.google.com with SMTP id f5so2785560nfh for ; Tue, 02 Oct 2007 13:22:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=FsFu2X1WMfuyTBqNyuPZw1LCKAdbp2TSr9FUl6r0Hos=; b=FDtI0b89jMUTIXE+dDh/7+KX7yO2P7bOM2Il3lp6plYICI0e2qyLhe121fJe9GvqWOyyWnDltE2YCPODKnrF02TsipFpSoQpvYuSkvNWmq5SWQ70CSIbORdq/h4qRR8T8vW2G1ZlYeDXc9ZUdcF1lqz/B6ASOOER6Sm334//HLY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=T+ZXLWQOLdMnqegbu39uF1H6BKvvelw0YlhNj2TMlyZtxuH8E3LD+tRZuH0gUCgTotm583SqHeumCTXp+l+mx26M1A1vQiREvWOdWXcCKdc2hH9ygN6NRpftRKMjncy6w10pjGpq/xRzFo4e9MHT6UKqR881OSmKKAEvGFW19Sw= Received: by 10.78.130.6 with SMTP id c6mr4361941hud.1191356536600; Tue, 02 Oct 2007 13:22:16 -0700 (PDT) Received: by 10.78.145.6 with HTTP; Tue, 2 Oct 2007 13:22:16 -0700 (PDT) Message-ID: Date: Tue, 2 Oct 2007 23:22:16 +0300 From: "Marko Kreen" To: "Josh Berkus" Subject: Re: Prepared Statements vs. pgbouncer Cc: depesz@depesz.com, "Tom Lane" , pg@fastcrypt.com, "Heikki Linnakangas" , lindner@inuus.com, "Oliver Jowett" , pgsql-jdbc@postgresql.org, PgBouncer In-Reply-To: <200710021313.56931.josh@agliodbs.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <24584.1191033096@sss.pgh.pa.us> <20071002123838.GA1462@depesz.com> <200710021313.56931.josh@agliodbs.com> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200710/39 X-Sequence-Number: 17611 On 10/2/07, Josh Berkus wrote: > > So, personally I don't have time to work on the feature, but > > I have thought a draft design that could somewhat work in the > > context of pgbouncer. If anyone is interested to work on that, > > contact me. > > Will this work correctly if you use Session mode for pgBouncer? Yes, then you don't need any support from pgbouncer, only a way to drop all prepared plans on session end, which unfortunately is available only in 8.3 - DEALLOCATE ALL / DISCARD ALL. -- marko