X-Original-To: pgsql-interfaces-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 7F54A52838 for ; Sun, 5 Jun 2005 10:04:45 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 48253-09 for ; Sun, 5 Jun 2005 13:04:44 +0000 (GMT) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.196]) by svr1.postgresql.org (Postfix) with ESMTP id 1953D5281E for ; Sun, 5 Jun 2005 10:04:43 -0300 (ADT) Received: by wproxy.gmail.com with SMTP id 71so1354703wra for ; Sun, 05 Jun 2005 06:04:47 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=NGAsAWQqaveMYiFFS2d6SMoBE78mh0SRv/tkz2CtkfCkqgICmIp4c99i7laMn4BEyOpLvaOi3npbBiKecur2J7h7nRU5KiXLJzzq5XaIIn0jRBo6vMIAujA4F4wlIcvkh22IufcWYZ6l2NPYpyqHHExH812O31Gsr/54SUS5cy4= Received: by 10.54.26.62 with SMTP id 62mr2530232wrz; Sun, 05 Jun 2005 06:04:47 -0700 (PDT) Received: by 10.54.30.45 with HTTP; Sun, 5 Jun 2005 06:04:47 -0700 (PDT) Message-ID: <7104a737050605060465412056@mail.gmail.com> Date: Sun, 5 Jun 2005 16:04:47 +0300 From: Volkan YAZICI Reply-To: Volkan YAZICI To: Tom Lane Subject: Re: libpq, PQExecParams and the inserting of binary data Cc: PostgreSQL Interfaces In-Reply-To: <26431.1117897062@sss.pgh.pa.us> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <7104a73705060401222c6cc5d2@mail.gmail.com> <20050604153734.8397528@uruguay> <7104a737050604065267a108b@mail.gmail.com> <26431.1117897062@sss.pgh.pa.us> X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.159 tagged_above=0 required=5 tests=AWL, RCVD_BY_IP X-Spam-Level: X-Archive-Number: 200506/26 X-Sequence-Number: 5594 Hi, On 6/4/05, Tom Lane wrote: > Volkan YAZICI writes: > > So, this means, user _has_to_ specify the size of input while using > > binary data. >=20 > You expected something different? No. But, throwing an exception inspite of a segmentation fault could be bet= ter. Regards.