fix issue 684 by allowing convenient running of custom init SQL statements during connection acquisition