On Saturday, November 23, 2002, at 01:15 PM, David Wheeler wrote:
I've started work on this. Here's a patch:Yes, the quote issue has to be fixed. I'll try to find some tuits to work on that this weekend.I'll work at getting all the tests to run properly, and then make a release in a couple of days.Feedback?
http://gborg.postgresql.org/project/dbdpg/patch/ patchdetail.php?patchid=63
This patch does two things. First, it stops escaping null characters in escape(). This method does not and will not support escaping binary data. Second, it adds pg_types constants, which may be exported via
use DBD::Pg qw(:pg_types);
Still to come: Making bind_param() do the right thing with bytea data, which should be bound like this:
$sth->bind_param(1, $val { pg_type => DBD::Pg::BYTEA });
That'll be more work for me, since it's in C.
Regards,
David
--
David Wheeler AIM: dwTheory
[EMAIL PROTECTED] ICQ: 15726394
http://david.wheeler.net/ Yahoo!: dew7e
Jabber: [EMAIL PROTECTED]
