Name | Description |
describePreparedStatement
(preparedStatementName)
|
|
execPreparedStatement
(params)
|
|
execStatement
(sqlCommand, resultFormat)
|
|
execStatementRbR
(sqlCommand, answerRowProcessDg, resultFormat)
|
Row-by-row version of execStatement
|
prepareStatement
(statementName, sqlStatement, oids)
|
|
reset
()
|
Blocks while connection will be established or exception thrown
|
waitForNotify
(timeout)
|
Non blocking method to wait for next notification.
|
cancel
()
|
Try to cancel query
|
consumeInput
()
|
If input is available from the server, consume it
|
dbName
()
|
|
errorMessage
()
|
Returns the error message most recently generated by an operation on the connection
|
escapeIdentifier
(msg)
|
|
escapeLiteral
(msg)
|
|
getResult
()
|
Get next result after sending a non-blocking commands. Can return null.
|
host
()
|
|
isBusy
()
|
|
isNonBlocking
()
|
Returns the blocking status of the database connection
|
parameterStatus
(paramName)
|
|
poll
()
|
Useful only for non-blocking operations.
|
posixSocket
()
|
Obtains the file descriptor number of the connection socket to the server
|
posixSocketDuplicate
()
|
Obtains duplicate file descriptor number of the connection socket to the server
|
protocolVersion
()
|
|
resetPoll
()
|
Useful only for non-blocking operations.
|
resetStart
()
|
Begin reset the communication channel to the server, in a nonblocking manner
|
serverVersion
()
|
|
setClientEncoding
(encoding)
|
|
setNoticeProcessor
(proc, arg)
|
Sets or examines the current notice processor
|
setSingleRowMode
()
|
Select single-row mode for the currently-executing query
|
socket
()
|
Obtains std.socket.Socket of the connection to the server
|
status
()
|
Returns the status of the connection
|
trace
(stream)
|
|
transactionStatus
()
|
Returns the current in-transaction status of the server.
The status can be:
PQTRANS_IDLE - currently idle
PQTRANS_ACTIVE - a command is in progress (reported only when a query has been sent to the server and not yet completed)
PQTRANS_INTRANS - idle, in a valid transaction block
PQTRANS_INERROR - idle, in a failed transaction block
PQTRANS_UNKNOWN - reported if the connection is bad
|
untrace
()
|
|