I have a *.ini
file that connects to my Firebird database, however I need this file now to be configured to connect to PostGreSQL
[IBConnection]
DriverName=Interbase
Database=192.168.1.30:C:\testes\impressoes.fdb
RoleName=RoleName
User_Name=sysdba
Password=masterkey
ServerCharSet=
SQLDialect=3
ErrorResourceFile=
LocaleCode=0000
BlobSize=-1
CommitRetain=False
WaitOnLocks=True
Interbase TransIsolation=ReadCommited
Trim Char=False
What I need is to find out what needs to be changed to connect to PostGreSQL instead of Firebird.
Inside the code is the connection:
ConnectingtoDevart:
However,wheneverItrytoaccesssometabletoverifythattheconnectionisOK,thefollowingerrormessageappears:
IthinkhefoundmyDataBaseright,butIhavenoideawhyhesayssuchatabledoesnotexist
Theerrorthathewaspresentingwasoccurringbecausethetableiswiththenameallincapitalletter,whenputtinginlowercasetheerrordidnotoccuragainbutwhenItrytoaccesssomeinformationofthebankheisaccusinganothererrornow:p>
But this FMTBcdField is not available as a variable format, which I believe is because the error compares to the integer format of the variable.