Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1UmRPJ-0000wY-GQ for pgsql-bugs@arkaria.postgresql.org; Tue, 11 Jun 2013 16:26:53 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1UmRPI-00049v-S1 for pgsql-bugs@arkaria.postgresql.org; Tue, 11 Jun 2013 16:26:52 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UmRPD-00045V-9e for pgsql-bugs@postgresql.org; Tue, 11 Jun 2013 16:26:47 +0000 Received: from moutng.kundenserver.de ([212.227.126.187]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1UmRP9-00007g-Uc for pgsql-bugs@postgresql.org; Tue, 11 Jun 2013 16:26:46 +0000 Received: from anarazel.de (p5DDC5E56.dip0.t-ipconnect.de [93.220.94.86]) by mrelayeu.kundenserver.de (node=mreu0) with ESMTP (Nemesis) id 0Ll1ub-1UC03h1K0z-00aeaf; Tue, 11 Jun 2013 18:26:40 +0200 Received: by anarazel.de (Postfix, from userid 1000) id DBB3410185C; Tue, 11 Jun 2013 18:26:52 +0200 (CEST) Date: Tue, 11 Jun 2013 18:26:52 +0200 From: Andres Freund To: Heikki Linnakangas Cc: Joshua Berry , Hiroshi Inoue , pgsql-bugs@postgresql.org Subject: Re: [ODBC] Segmentation Fault in Postgres server when using psqlODBC Message-ID: <20130611162652.GA30025@awork2.anarazel.de> References: <51A51147.2060103@tpf.co.jp> <51A75999.6030701@tpf.co.jp> <51AD6351.4030208@tpf.co.jp> <51B0046F.8080908@tpf.co.jp> <51B74E69.4010206@vmware.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <51B74E69.4010206@vmware.com> X-Provags-ID: V02:K0:8Xyrs2ZbquF5b7vPaz9L67yCWXOm0QIDrdYtgrCjtD7 i40CEIqWKy+Fgs/e8MquukCm55PBMULC84N03HbqqFYfat7P6k rdrNZQJYQpZ31O1yksben/g/y0TJ4IE8a1VY0stjra4BNho4/5 6yvVU6jCwO7lSxRFfFPikjhsY/RhdWdr3Jo4JR3oybt5jyUBkV qfllHQveTFDDC9Y9vEnPtl5h5AS0zfvInQjupH1fT3U2fTN++R h+GW/o0XEcPgVCu3HkpBxD9HZ+tVI3Sho42IMFFZ8kIecbA+Dt RJafXR0uSfToe52NlBPnHj5OFsAEdrFA9xUrUAooT0Mt1RB+Fz +l8sKUmF7MsdfflommSyyzrPi3zSW/sIOs4t4li2Q X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org On 2013-06-11 19:20:57 +0300, Heikki Linnakangas wrote: > On 11.06.2013 19:04, Joshua Berry wrote: > >Hiroshi Inoue has developed the attached patch to correct the issue that > >was reported. More of the dialogue can be found in the pgsql-odbc list. > > I tried to follow that thread over at pgsql-odbc, but couldn't quite > understand what the problem is. Did you have a test program to reproduce it? > Or failing that, what is the sequence of protocol messages that causes the > problem? I'd guess creating a SQL level WITH HOLD cursor and then fetching that via the extended protocol, outside the transaction, should do the trick. Greetings, Andres Freund -- Andres Freund http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training & Services -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs