6 Nov
2013
6 Nov
'13
12:23 p.m.
On 06/11/13 16:57, Alan DeKok wrote:
It shouldn't be hard. The main difficulty is figuring out the return code from $dbinfo->{handle}->do($query). It's possible, I just haven't looked.
I wonder if the Perl DBI/DBD drivers are consistent in this respect; certainly in other languages it can be a real pig to distinguish between server-side "query fail" and "other" (I'm looking at you, earlier versions of libpq!) But yes, this kind of approach is probably best.