Configuration flags for the TerraLib ADO Data Access driver.
More...
Go to the source code of this file.
Configuration flags for the TerraLib ADO Data Access driver.
Definition in file Config.h.
#define ADO_DEFAULT_CLIENT_ENCODING "UTF8" |
The default client encoding when talking with the database.
Definition at line 84 of file Config.h.
#define ADO_DEFAULT_CONNECT_TIMEOUT "4" |
The default maximum wait for connection, in seconds.
Definition at line 77 of file Config.h.
#define ADO_DEFAULT_INITIAL_POOL_SIZE 4 |
This sets the default initial number of connections opened by a connection pool.
Definition at line 42 of file Config.h.
#define ADO_DEFAULT_MAX_IDLE_TIME 10 |
This sets the default maximum time that a connection can be in the pool without being used.
Definition at line 63 of file Config.h.
#define ADO_DEFAULT_MAX_POOL_SIZE 4 |
This sets the default maximum number of connections in the pool.
Definition at line 56 of file Config.h.
#define ADO_DEFAULT_MIN_POOL_SIZE 2 |
This sets the default minimum number of connections to be kept in the pool.
Definition at line 49 of file Config.h.
#define ADO_DEFAULT_PORT "5432" |
The default port used to connect to a PostgreSQL database server.
Definition at line 70 of file Config.h.
#define ADO_DRIVER_IDENTIFIER "ADO" |
#define ADO_PLUGIN_NAME "te.da.ado" |
The ADO plugin identifier string.
Definition at line 98 of file Config.h.
You can use this macro in order to export/import classes and functions from this module.
- Note
- If you want to compile TerraLib as DLL in Windows, remember to insert TEADODLL into the project's list of defines.
-
If you want to compile TerraLib as an Static Library under Windows, remember to insert the TEADOSTATIC flag into the project list of defines.
Definition at line 133 of file Config.h.