Postgres doesn't autoquote properly
Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=3141
Reported by Stephen R. van den Berg, Cubic Circle srb@cuci.nl
One argument missing in emulate_bindings
--- postgres.pike.old Tue Jun 11 09:45:35 2002
+++ postgres.pike Tue Jun 11 09:44:42 2002
@@ -131,7 +131,7 @@
{
if (!bindings)
return ::big_query(q);
- return ::big_query(.sql_util.emulate_bindings(q,bindings));
+ return
::big_query(.sql_util.emulate_bindings(q,bindings,this_object()));
}
#else /* !constant(Postgres.postgres) */