postgresql issues
Posted: Mon 18 May 2015 13:07
Hello,
I have a Datamodule with one UniConnection component. This connection is shared between a worker thread object (listening a TCP server within a thread every 500ms) and the main program (user's action). This is well working when using an SQLite provider. I'm getting a lot of exceptions when working with the PostgreSQL provider.
'first chance' Exception at $757F812F. Exception Class Exception with a message 'Invalid parameters specified'
'first chance' Exception at $757F812F. Exception class EPgError with a message 'Unexpected server response:' '
'first chance' Exception at $757F812F. Exception Class Exception with a message 'Invalid parameters specified'
'first chance' Exception at $757F812F. Exception class EPgError with a message 'Unexpected server response:' '
'first chance' Exception at $757F812F. Exception class EUniError with a message 'Unexpected server response:' '
Loading module: DUser.dll. No debug information. Base address: $74360000
Exception 'first chance' at $757F812F. Exception class EAssertionFailed with a message 'Assertion failure (D:\Projects\Delphi\Dac\PostgreSql\Source\PgSQLProtocol.pas 2321 line)
My software must run with a SQLite database or a postgreSQL database.
I have a Datamodule with one UniConnection component. This connection is shared between a worker thread object (listening a TCP server within a thread every 500ms) and the main program (user's action). This is well working when using an SQLite provider. I'm getting a lot of exceptions when working with the PostgreSQL provider.
'first chance' Exception at $757F812F. Exception Class Exception with a message 'Invalid parameters specified'
'first chance' Exception at $757F812F. Exception class EPgError with a message 'Unexpected server response:' '
'first chance' Exception at $757F812F. Exception Class Exception with a message 'Invalid parameters specified'
'first chance' Exception at $757F812F. Exception class EPgError with a message 'Unexpected server response:' '
'first chance' Exception at $757F812F. Exception class EUniError with a message 'Unexpected server response:' '
Loading module: DUser.dll. No debug information. Base address: $74360000
Exception 'first chance' at $757F812F. Exception class EAssertionFailed with a message 'Assertion failure (D:\Projects\Delphi\Dac\PostgreSql\Source\PgSQLProtocol.pas 2321 line)
My software must run with a SQLite database or a postgreSQL database.