When you are setting up a connection to an external data source, Spotfire needs to map the data types in the data source to data types in Spotfire. See below for a list of the different data type mappings applicable when working with a PostgreSQL database.
PostgreSQL Database Type |
Spotfire Data Type |
Supported |
BIT |
Integer |
Yes |
INT2 |
Integer |
Yes |
INT4 |
Integer |
Yes |
FLOAT4 |
SingleReal |
Yes |
FLOAT8 |
Real |
Yes |
INT8 |
LongInteger |
Yes |
NUMERIC(p,s) |
When p <= 9 and
s = 0: Integer |
Yes |
MONEY |
Currency |
Yes |
BOOL |
Boolean |
No |
BPCHAR |
String |
Yes |
VARCHAR |
String |
Yes |
TEXT |
String |
Yes |
DATE |
Date |
Yes |
TIME |
Time |
Yes |
TIMESTAMP |
DateTime |
Yes |
INTERVAL |
TimeSpan |
Yes |
BYTEA |
Binary |
Yes |
Any other data types are not supported.
See also:
Details on PostgreSQL Connection