Re: PostgreSQL::PLPerl::Call - Simple interface for calling SQL functions from PostgreSQL PL/Perl

David E. Wheeler <david@kineticode.com>

From: "David E. Wheeler" <david@kineticode.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Martijn van Oosterhout <kleptog@svana.org>, Tim Bunce <Tim.Bunce@pobox.com>, Greg Sabino Mullane <greg@endpoint.com>, Richard Huxton <dev@archonet.com>, pgsql-hackers@postgresql.org
Date: 2010-02-16T23:04:37Z
Lists: pgsql-hackers
On Feb 16, 2010, at 3:01 PM, Tom Lane wrote:

> I think the reason the client-side docs recommend using zero is to avoid
> having clients know about the unknown type explicitly (in particular, to
> discourage people from hardwiring "705" into their code).  AFAIR there's
> not a lot of difference in terms of what the parser will do with it.

We should probably get rid of this in DBD::Pg then:

    % perl -MDBD::Pg -E 'say DBD::Pg::PG_UNKNOWN'
    705

Best,

David