Branch: Tag:

2008-08-25

2008-08-25 23:39:00 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Return the "char" type as string in textmode.

Rev: lib/modules/Sql.pmod/pgsql.pike:1.35
Rev: src/modules/_PGsql/PGsql.cmod:1.28

744:    switch(datarowdesc[i]->type) {    default:value=_c.getstring(collen);    break; -  case CHAROID:value=_c.getbyte(); +  case CHAROID:value=atext?_c.getstring(1):_c.getbyte();    break;    case BOOLOID:value=_c.getbyte();    if(atext)