1
0
mirror of https://github.com/postgres/postgres.git synced 2025-11-24 00:23:06 +03:00

Added numeric and int8 types.

Bug fix for LongVarBinary -- begin transaction
This commit is contained in:
Byron Nikolaidis
2000-01-30 21:14:25 +00:00
parent 3a1218dced
commit 44035918bb
7 changed files with 334 additions and 29 deletions

View File

@@ -320,7 +320,7 @@ RETCODE result;
/************************/
if (pibScale) {
Int2 scale;
scale = pgtype_scale(stmt, fieldtype);
scale = pgtype_scale(stmt, fieldtype, icol);
if(scale == -1) { scale = 0; }
*pibScale = scale;
@@ -521,7 +521,7 @@ int len = 0, value = 0;
break;
case SQL_COLUMN_SCALE:
value = pgtype_scale(stmt, field_type);
value = pgtype_scale(stmt, field_type, icol);
break;
case SQL_COLUMN_SEARCHABLE: