Cleaning inner buffer for info/warning/error messages.
Tries to establish connection with a SQL server described in connString.
Returns current date output format and ambitious values converting behavior.
Closes connection to the SQL server instantly.
Returns query result, if pollQueringStatus shows that query is processed without errors, else blocks the caller until the answer is arrived.
Returns true if the connection stores info/warning/error messages.
If connection process is ended with error state, then throws ConnectException, else do nothing.
Returns current status of connection.
Returns quering status of connection.
If quering process is ended with error state, then throws QueryException, else do nothing.
Initializes querying process in non-blocking manner.
Returns all saved info/warning/error messages from the connection.
Tries to establish connection with a SQL server described in previous call of connect.
Returns SQL server name (domain) the connection is desired to connect to. If connection isn't ever established (or tried) the method returns empty string.
Sending senseless query to the server to check if the connection is actually alive (e.g. nothing can detect fail after postgresql restart but query).
Returns server time zone. This value is important to handle time stamps with time zone specified as libpq doesn't send the information with time stamp.
Returns actual timestamp representation format used in server.
Tries to establish connection with a SQL server described in connString.
Tries to establish connection with a SQL server described in previous call of connect.
Returns current status of connection.
If connection process is ended with error state, then throws ConnectException, else do nothing.
Initializes querying process in non-blocking manner.
Returns quering status of connection.
If quering process is ended with error state, then throws QueryException, else do nothing.
Returns query result, if pollQueringStatus shows that query is processed without errors, else blocks the caller until the answer is arrived.
Closes connection to the SQL server instantly.
Returns SQL server name (domain) the connection is desired to connect to. If connection isn't ever established (or tried) the method returns empty string.
Returns current date output format and ambitious values converting behavior.
Returns actual time stamp representation format used in server.
Returns server time zone. This value is important to handle time stamps with time zone specified as libpq doesn't send the information with time stamp.
Sending senseless query to the server to check if the connection is actually alive (e.g. nothing can detect fail after postgresql restart but query).
Blocking wrapper to one-command query execution.
Returns true if the connection stores info/warning/error messages.
Returns all saved info/warning/error messages from the connection.
Cleaning inner buffer for info/warning/error messages.
PostgreSQL specific connection type. Although it can use different data base backend, the class is defined to support only PostgreSQL.