Sample default odbc.ini file
- Last Updated: July 31, 2024
- 2 minute read
- DataDirect Connectors
- ODBC
- PostgreSQL 8.0
- Documentation
The following is a sample odbc.ini file that the installer program installs in the installation directory. All occurrences of ODBCHOME are replaced with your installation directory path during installation of the file. Values that you must supply are enclosed by angle brackets (< >). If you are using the installed odbc.ini file, you must supply the values and remove the angle brackets before that data source section will operate properly. Commented lines are denoted by the # symbol. This sample shows a 32-bit driver with the driver file name beginning with iv. A 64-bit driver file would be identical except that driver name would begin with dd and the list of data sources would include only the 64-bit drivers.
[ODBC Data Sources]
PostgreSQL Wire Protocol=DataDirect 8.0 PostgreSQL Wire Protocol
[PostgreSQL]
Driver=ODBCHOME/lib/ivpsql28.so
Description=DataDirect 8.0 PostgreSQL Wire Protocol
AlternateServers=
ApplicationUsingThreads=1
AuthenticationMethod=0
AzureTenantID=
BatchMechanism=3
CallEscapeBehavior=2
ClientSSLCertificate=
ClientSSLKey=
ConnectionReset=0
ConnectionRetryCount=0
ConnectionRetryDelay=3
CryptoLibName=
CryptoProtocolVersion=TLSv1.3,TLSv1.2
Database=
EnableDescribeParam=1
EnableKeysetCursors=0
EncryptionMethod=0
ExtendedColumnMetaData=0
FailoverGranularity=0
FailoverMode=0
FailoverPreconnect=0
FetchRefCursor=1
FetchSize=50000
FetchTSWTZasTimestamp=0
FetchTWFSasTime=0
GSSClient=native
HostName=
HostNameInCertificate=
InitializationString=
KeepAlive=0
KeyPassword=
Keystore=
KeystorePassword=
KeysetCursorOptions=0
LoadBalanceTimeout=0
LoadBalancing=0
LoginTimeout=15
LogonID=
MaxCharSize=
MaxLongVarcharSize=
MaxPoolSize=100
MaxVarcharSize=
MinPoolSize=0
Password=
Pooling=0
PortNumber=5432
ProxyHost=
ProxyMode=0
ProxyPassword=
ProxyPort=0
ProxyUser=
QueryTimeout=0
ReportCodePageConversionErrors=0
ServicePrincipalName=
ShowSelectableTables=1
SSLLibName=
TransactionErrorBehavior=1
TrustStore=
TrustStorePassword=
UnboundedNumericPrecision=-1
UnboundedNumericScale=-1
UseDeclareFetch=0
ValidateServerCertificate=1
XMLDescribeType=-10
[ODBC]
IANAAppCodePage=4
InstallDir=ODBCHOME
Trace=0
TraceFile=odbctrace.out
TraceDll=ODBCHOME/lib/ivtrc28.so
ODBCTraceMaxFileSize=102400
ODBCTraceMaxNumFiles=10
[ODBC File DSN]
DefaultDSNDir=
UseCursorLib=0
To modify or create data sources in the odbc.ini file, use the following procedures.
-
To modify a data source:
-
To create a new data source: