Received: from makus.postgresql.org ([98.129.198.125]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TTCeY-0006YF-9l for pgsql-odbc@postgresql.org; Tue, 30 Oct 2012 14:18:50 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TTCeV-0003S7-VW for pgsql-odbc@postgresql.org; Tue, 30 Oct 2012 14:18:49 +0000 Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.5/8.14.5) with ESMTP id q9UEIiYR010744; Tue, 30 Oct 2012 10:18:44 -0400 (EDT) From: Tom Lane To: =?UTF-8?Q?Nils_G=C3=B6sche?= cc: pgsql-odbc@postgresql.org Subject: Re: Empty bytea values on 9.2.1 In-reply-to: <001101cdb686$b80fd290$282f77b0$@de> References: <006a01cdb5fe$f8400c00$e8c02400$@de> <22948.1351539417@sss.pgh.pa.us> <001101cdb686$b80fd290$282f77b0$@de> Comments: In-reply-to =?UTF-8?Q?Nils_G=C3=B6sche?= message dated "Tue, 30 Oct 2012 11:09:57 +0100" Date: Tue, 30 Oct 2012 10:18:44 -0400 Message-ID: <10743.1351606724@sss.pgh.pa.us> X-Pg-Spam-Score: -2.6 (--) X-Archive-Number: 201210/16 X-Sequence-Number: 10975 =?UTF-8?Q?Nils_G=C3=B6sche?= writes: > Interestingly, longer bytea values seem to work fine even without > setting bytea_output to 'escape'! It's only the empty arrays that > seem to make problems. That suggests that ODBC is doing something wrong with just '\x' ... regards, tom lane