From: | Andrew McNamara <andrewm(at)object-craft(dot)com(dot)au> |
---|---|
To: | Florian Weimer <fw(at)deneb(dot)enyo(dot)de> |
Cc: | PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: Confusion over Python drivers |
Date: | 2010-02-08 22:15:57 |
Message-ID: | 20100208221557.B7625206F9@longblack.object-craft.com.au |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
>> http://code.google.com/p/ocpgdb/
>
>I saw your note that you have to specify the types for date values
>etc. Is this really desirable or even necessary? Can't you specify
>the type as unknown (OID 705, I believe)?
>
>At work, we recently used to typelessness of Perl's DBD::Pg with great
>effect, introducing a more compact, type-safe representation for a few
>columns, without having to change all the existing Perl scripts
>accessing the database. That's why I'm wondering...
I can't see how this would work with binary query parameters - the server
will see a blob of binary data and have no way to know what it represents.
I presume DBD::Pg is using text parameters, rather than binary.
--
Andrew McNamara, Senior Developer, Object Craft
http://www.object-craft.com.au/
From | Date | Subject | |
---|---|---|---|
Next Message | Etienne Dube | 2010-02-08 22:24:45 | Re: [PATCH] "could not reattach to shared memory" on Windows |
Previous Message | Robert Haas | 2010-02-08 21:43:11 | Re: Writeable CTEs patch |