Skip to content

Commit

Permalink
Use bigint instead of integer.
Browse files Browse the repository at this point in the history
Integer is too small for the 64 bit types used by postgres.
  • Loading branch information
0xxon committed Apr 28, 2017
1 parent f3f7604 commit 8f41ecf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/PostgresWriter.cc
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ string PostgreSQL::GetTableType(int arg_type, int arg_subtype)
case TYPE_COUNT:
case TYPE_COUNTER:
case TYPE_PORT:
type = "integer";
type = "bigint";
break;

/*
Expand Down

0 comments on commit 8f41ecf

Please sign in to comment.