Skip to content

Commit

Permalink
add support for Network address types for postgres
Browse files Browse the repository at this point in the history
  • Loading branch information
ohojdysz-prgs committed Sep 14, 2023
1 parent 924d990 commit 5408cdd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/backends/postgresql/statement.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -764,6 +764,8 @@ void postgresql_statement_backend::describe_column(int colNum, data_type & type,
case 114: // json
case 17: // bytea
case 2950: // uuid
case 829: // macaddr
case 869: // inet
type = dt_string;
break;

Expand Down Expand Up @@ -826,6 +828,7 @@ void postgresql_statement_backend::describe_column(int colNum, data_type & type,
case 'T': // time type
case 'S': // string type
case 'U': // user type
case 'I': // network address type
type = dt_string;
break;

Expand Down

0 comments on commit 5408cdd

Please sign in to comment.