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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user