Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id 3B7F09FA17D for ; Tue, 24 Oct 2006 23:42:22 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 28207-04 for ; Tue, 24 Oct 2006 23:42:19 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by postgresql.org (Postfix) with ESMTP id 55BD49F9FB2 for ; Tue, 24 Oct 2006 23:42:19 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.13.6/8.13.6) with ESMTP id k9P2gHv6026068; Tue, 24 Oct 2006 22:42:17 -0400 (EDT) To: Dave Cramer cc: JEAN-PIERRE PELLETIER , List , PostgreSQL-development Subject: Re: [HACKERS] server process (PID 1188) exited with exit code -1073741819, 8.2 beta1 In-reply-to: <1B8AB823-5FD8-4225-8B3C-CE1A72223C23@fastcrypt.com> References: <1B8AB823-5FD8-4225-8B3C-CE1A72223C23@fastcrypt.com> Comments: In-reply-to Dave Cramer message dated "Tue, 24 Oct 2006 18:11:18 -0400" Date: Tue, 24 Oct 2006 22:42:17 -0400 Message-ID: <26067.1161744137@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.127 tagged_above=0 required=5 tests=AWL, SPF_HELO_PASS, SPF_PASS X-Spam-Level: X-Archive-Number: 200610/113 X-Sequence-Number: 15996 Dave Cramer writes: > This is a server bug, I will post to hackers for you, Please provide a complete test case. I tried to reproduce the failure in libpq, with /* Here is our out-of-line parameter value */ paramValues[0] = "joe's place"; res = PQexecParams(conn, "SELECT $1 FROM (select * from pg_database) t", 1, /* one param */ NULL, /* let the backend deduce param type */ paramValues, NULL, /* don't need param lengths since text */ NULL, /* default to all text params */ 0); /* ask for text results */ and got nothing worse than SELECT failed: ERROR: could not determine data type of parameter $1 regards, tom lane