mirror of
https://github.com/SOCI/soci.git
synced 2026-02-15 10:48:42 -06:00
Try to address the problem with PostgreSQL ODBC driver truncating all "unknown" fields, such as XML ones, to 256 bytes by default by changing the corresponding connection attribute if possible. Also document the need to do it when defining the DSN as, currently, doing it during run-time will often fail as this option has only been added in a rather recent version of the driver.
10 lines
195 B
Plaintext
10 lines
195 B
Plaintext
[ODBC]
|
|
Description=DSN for SOCI ODBC connection to PostgreSQL(Travis-CI)
|
|
Driver=PostgreSQL ANSI
|
|
Server=localhost
|
|
Port=5432
|
|
Database=soci_test
|
|
UID=postgres
|
|
PWD=Password12!
|
|
UnknownsAsLongVarchar=1
|