Branch: Tag:

2009-01-06

2009-01-06 10:05:17 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Rephrase error message.

Rev: lib/modules/Sql.pmod/pgsql.pike:1.45

1609:    }    array dtoid=_c.portal->_datatypeoid;    if(sizeof(dtoid)!=sizeof(paramValues)) -  USERERROR(sprintf("Invalid number of bindings, wanted %d, got %d\n", +  USERERROR( +  sprintf("Invalid number of bindings, expected %d, got %d\n",    sizeof(dtoid),sizeof(paramValues)));    foreach(dtoid;;int textbin)    plugbuf+=({_c.plugint16(oidformat(textbin))});