Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 4F70D64FD1E for ; Fri, 22 Aug 2008 14:19:12 -0300 (ADT) Received: from postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 72722-10 for ; Fri, 22 Aug 2008 14:19:03 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from tinlc.com (unknown [72.18.206.65]) by postgresql.org (Postfix) with ESMTP id CB8B764FCCF for ; Fri, 22 Aug 2008 14:19:04 -0300 (ADT) Received: from biglumber.com ([72.18.206.64] helo=localhost) by tinlc.com with smtp (Exim 4.60) (envelope-from ) id 1KWaHs-0002MO-6y; Fri, 22 Aug 2008 12:19:00 -0500 From: "Greg Sabino Mullane" To: pgsql-interfaces@postgresql.org Subject: Re: PostgreSQL arrays and DBD X-PGP-Key: 2529 DF6A B8F7 9407 E944 45B4 BC9B 9067 1496 4AC8 X-Request-PGP: http://www.biglumber.com/x/web?pk=2529DF6AB8F79407E94445B4BC9B906714964AC8 In-Reply-To: <04D6CE50-D221-40B8-8028-C7E30C27DEF2@decibel.org> Date: Fri, 22 Aug 2008 17:19:00 -0000 X-Mailer: JoyMail 2.01 Message-ID: <72c4c08fbacfb95124e5c29aca90d39c@biglumber.com> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.1 tagged_above=0 required=5 tests=RDNS_NONE=0.1 X-Spam-Level: X-Archive-Number: 200808/20 X-Sequence-Number: 6795 -----BEGIN PGP SIGNED MESSAGE----- Hash: RIPEMD160 > DBD should return a reference to an empty array. But DBD returned > the reference to the array containing 1 element (0). How can I have > a different result: This was fixed: version 2.9.2 of DBD::Pg should behave as you expect with regards to empty integer arrays. This was asked and answered on the dbi list, but no ccs went to the interfaces list - sorry about that. http://www.nntp.perl.org/group/perl.dbi.users/2008/08/msg33162.html - -- Greg Sabino Mullane greg@turnstep.com End Point Corporation PGP Key: 0x14964AC8 200808221317 http://biglumber.com/x/web?pk=2529DF6AB8F79407E94445B4BC9B906714964AC8 -----BEGIN PGP SIGNATURE----- iEYEAREDAAYFAkiu9NAACgkQvJuQZxSWSsiCpQCgnpwjoL8x937IT65cbl14zwb9 S94AnA4YBnjXGec7gnUum0ZSK/hIyHWn =CXQx -----END PGP SIGNATURE-----