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.
Blocking wrapper to one-command query execution.
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 time stamp representation format used in server.
Handles a single connection to a SQL server.