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.
◆ ADO_DEFAULT_CLIENT_ENCODING
#define ADO_DEFAULT_CLIENT_ENCODING "UTF8" |
The default client encoding when talking with the database.
Definition at line 81 of file Config.h.
◆ ADO_DEFAULT_CONNECT_TIMEOUT
#define ADO_DEFAULT_CONNECT_TIMEOUT "4" |
The default maximum wait for connection, in seconds.
Definition at line 74 of file Config.h.
◆ ADO_DEFAULT_INITIAL_POOL_SIZE
#define ADO_DEFAULT_INITIAL_POOL_SIZE 4 |
This sets the default initial number of connections opened by a connection pool.
Definition at line 39 of file Config.h.
◆ ADO_DEFAULT_MAX_IDLE_TIME
#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 60 of file Config.h.
◆ ADO_DEFAULT_MAX_POOL_SIZE
#define ADO_DEFAULT_MAX_POOL_SIZE 4 |
This sets the default maximum number of connections in the pool.
Definition at line 53 of file Config.h.
◆ ADO_DEFAULT_MIN_POOL_SIZE
#define ADO_DEFAULT_MIN_POOL_SIZE 2 |
This sets the default minimum number of connections to be kept in the pool.
Definition at line 46 of file Config.h.
◆ ADO_DEFAULT_PORT
#define ADO_DEFAULT_PORT "5432" |
The default port used to connect to a PostgreSQL database server.
Definition at line 67 of file Config.h.
◆ ADO_DRIVER_IDENTIFIER
#define ADO_DRIVER_IDENTIFIER "ADO" |
The ADO driver identifier string.
Definition at line 88 of file Config.h.
◆ ADO_PLUGIN_NAME
#define ADO_PLUGIN_NAME "te.da.ado" |
The ADO plugin identifier string.
Definition at line 95 of file Config.h.
◆ TEADOEXPORT
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 130 of file Config.h.