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 0EC0211F6666 for ; Tue, 4 Apr 2006 21:26:09 -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 69979-04 for ; Tue, 4 Apr 2006 21:26:08 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from tinlc.com (unknown [72.18.206.65]) by postgresql.org (Postfix) with ESMTP id 9475411F6622 for ; Tue, 4 Apr 2006 21:26:06 -0300 (ADT) Received: from [127.0.0.1] (helo=localhost) by tinlc.com with smtp (Exim 4.60) (envelope-from ) id 1FQuuE-0003ib-Su; Tue, 04 Apr 2006 18:25:50 -0500 From: "Greg Sabino Mullane" To: pgsql-interfaces@postgresql.org Cc: pkeshish@gmail.com CC: pkeshish@gmail.com Subject: Re: pgsql_perl5-1.9.0 / Pg - patch for PQescapeString 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: <53b425b00604041547s78b9bccdl6f95b9dfa4e5282b@mail.gmail.com> Date: Tue, 4 Apr 2006 23:25:50 -0000 X-Mailer: JoyMail 2.01 Message-ID: X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.12 required=5 tests=[AWL=0.120] X-Spam-Score: 0.12 X-Spam-Level: X-Archive-Number: 200604/8 X-Sequence-Number: 6099 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 > I just wanted to send you the attached patch which adds the > PQescapeString interface to the Pg module. 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. 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. - -- Greg Sabino Mullane greg@turnstep.com PGP Key: 0x14964AC8 200604042024 http://biglumber.com/x/web?pk=2529DF6AB8F79407E94445B4BC9B906714964AC8 -----BEGIN PGP SIGNATURE----- iD8DBQFEMw6HvJuQZxSWSsgRAs5aAJ426m5Tr3nXGqzvVHiMP6nu92RdZQCgyJxa MFX4H56aRzoKrOCuxGb+DWk= =ad2S -----END PGP SIGNATURE-----