Skip to content

Commit

Permalink
postgres: Assign 1000 to TEXT field length (#412)
Browse files Browse the repository at this point in the history
  • Loading branch information
HuidaeCho committed Mar 20, 2020
1 parent 5341b70 commit bd7307a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions db/drivers/postgres/describe.c
Expand Up @@ -207,6 +207,7 @@ int get_column_info(PGresult * res, int col, int *pgtype, int *gpgtype,

case PG_TYPE_TEXT:
*sqltype = DB_SQL_TYPE_TEXT;
*size = 1000;
break;

case PG_TYPE_FLOAT4:
Expand Down

0 comments on commit bd7307a

Please sign in to comment.