From: | "Brandon Metcalf" <bmetcalf(at)nortel(dot)com> |
---|---|
To: | Vlad <marchenko(at)gmail(dot)com> |
Cc: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, dbdpg-general(at)gborg(dot)postgresql(dot)org, pgsql-interfaces(at)postgresql(dot)org |
Subject: | Re: [Dbdpg-general] benchmarking old Pg and DBD::Pg |
Date: | 2005-04-08 20:14:53 |
Message-ID: | Pine.LNX.4.58L.0504081513100.18466@cash.rhiamet.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-interfaces |
m == marchenko(at)gmail(dot)com writes:
m> --- dbdimp.c.bak Wed Apr 6 16:40:20 2005
m> +++ dbdimp.c Fri Apr 8 15:21:29 2005
m> @@ -1415,7 +1415,7 @@
m> }
m> else if (NULL == currph->bind_type) { /* "sticky" data type */
m> /* This is the default type, but we will honor
m> defaultval if we can */
m> - currph->bind_type = pg_type_data(VARCHAROID);
m> + currph->bind_type = pg_type_data(UNKNOWNOID);
m> if (!currph->bind_type)
m> croak("Default type is bad!!!!???");
m> }
Using this patch results in error messages like:
DBD::Pg::st execute failed: ERROR: syntax error at or near "15" at character 158
Not sure why yet.
--
Brandon
From | Date | Subject | |
---|---|---|---|
Next Message | Vlad | 2005-04-08 20:24:17 | Re: [Dbdpg-general] benchmarking old Pg and DBD::Pg |
Previous Message | Brandon Metcalf | 2005-04-08 19:26:39 | Re: [Dbdpg-general] benchmarking old Pg and DBD::Pg |