X-Original-To: pgsql-interfaces-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id 1764011F6298 for ; Wed, 5 Apr 2006 00:36:56 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 12527-05 for ; Wed, 5 Apr 2006 00:36:54 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey- Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.235]) by postgresql.org (Postfix) with ESMTP id D28A111F6249 for ; Wed, 5 Apr 2006 00:36:53 -0300 (ADT) Received: by wproxy.gmail.com with SMTP id 71so529947wra for ; Tue, 04 Apr 2006 20:36:53 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=BXlgIVe4aqwDjDMec5JZNvW1H9uyNBTdIT8vpr/aOekBgpmrvpa5sTNnIGOSI5/NrpkQ0hkwIamfYiFLjL4mUtJkGbpNshaz9H6ZXqM9TwoAV1YH8inFLiJNpURGoFd2CtF9kEICatyK/MRFXsIsoWk/YIWLyBQQoFspe3iLh1s= Received: by 10.54.130.3 with SMTP id c3mr357498wrd; Tue, 04 Apr 2006 20:36:53 -0700 (PDT) Received: by 10.54.157.2 with HTTP; Tue, 4 Apr 2006 20:36:09 -0700 (PDT) Message-ID: <53b425b00604042036u105b6993vdd6dd820a0705f69@mail.gmail.com> Date: Tue, 4 Apr 2006 20:36:09 -0700 From: "patrick keshishian" To: "Greg Sabino Mullane" Subject: Re: pgsql_perl5-1.9.0 / Pg - patch for PQescapeString Cc: pgsql-interfaces@postgresql.org In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <53b425b00604041547s78b9bccdl6f95b9dfa4e5282b@mail.gmail.com> X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.08 required=5 tests=[AWL=0.080] X-Spam-Score: 0.08 X-Spam-Level: X-Archive-Number: 200604/9 X-Sequence-Number: 6100 Hi Greg, On 4/4/06, Greg Sabino Mullane wrote: > Unfortunately, you don't tell us exactly which module you mean. > There is the very actively maintained DBD::Pg module, and the > somewhat maintained DBD::PgPP module. There are also some > other older ones still floating around with a "Pg" in the name > - - the fact that you found Edmund Mergl's name suggests that > whatever you have, it is probably very old. My bad. I should've included the link on CPAN (as you did): http://search.cpan.org/~mergl/pgsql_perl5-1.9.0/ And yes, it apparently is very old as it is dated '04 Apr 2000'. The module just worked for my needs, so I started using it. It only lacked access to PQescapeString or similar. Hence, the patch. > DBD::Pg can be found here: > > http://search.cpan.org/~dbdpg/ > > It has its own quoting of variables through the $dbh->quote() > method. If you are trying to connect to Postgres via Perl, > this is probably your best bet. Hope that helps. Might look at this module as my needs grow. Thanks, --patrick