../../../src/api/tcl/sqlrconCmd.tcl
| Procedure Summary |
autoCommitOff { }Instructs the database to wait for the client to tell it when to |
autoCommitOn { }Instructs the database to perform a commit after every successful |
begin { }Begins a transaction. |
bindFormat { }Returns a string representing the format of the bind variables used in the |
clientVersion { }Returns the version of the sqlrelay client |
commit { }Issues a commit. |
dbHostName { }Returns the host name of the |
dbIpAddress { }Returns the ip address of the |
dbVersion { }Returns the version of the |
debugOff { }Turns debugging |
debugOn { }Causes verbose debugging information to be sent to standard output. |
disableEncryption { }Disables |
enableKerberos { service mech flags }Enables Kerberos authentication and encryption. |
enableTls { version cert password ciphers validate ca depth }Enables TLS/SSL encryption, and optionally authentication. |
endSession { }Ends the |
errorMessage { }If an operation failed and generated an error the error message is available here. |
errorNumber { }If an operation failed and generated an error, the error number is available here. |
getClientInfo { }Returns the string that was set by |
getConnectionPort { }Returns the inet port that the connection is communicating over. |
getConnectionSocket { }Returns the unix socket that the connection is communicating over. |
getCurrentDatabase { }Returns the database/schema that is currently in |
getDebug { }Returns false if debugging is off and true if debugging is |
getLastInsertId { }Returns the value of the autoincrement column for the last |
identify { }Returns the type of database: oracle postgresql mysql |
ping { }Returns true if the database is up and false if it's |
resumeSession { port socket }Resumes a session previously left open using suspendSession {}. |
rollback { }Issues a rollback. |
selectDatabase { database }Sets the current database/schema to |
serverVersion { }Returns the version of the sqlrelay server |
setAuthenticationTimeout { timeoutsec timeoutusec }Sets the authentication timeout in seconds and milliseconds. |
setClientInfo { clientinfo }Allows you to set a string that will be passed to the server and ultimately included in server-side logging along with queries that were run by this instance of the |
setConnectTimeout { timeoutsec timeoutusec }Sets the server connect timeout in seconds and milliseconds. |
setDebugFile { debugfilename }Allows you to specify a file to write debug to. |
setResponseTimeout { timeoutsec timeoutusec }Sets the response timeout (for queries, commits, rollbacks, pings, |
sqlrconCmd { server port socket user password retrytime tries }Initiates a connection to "server" on "port" or to the unix "socket" on the local machine and authenticates with "user" and "password". |
sqlrconDelete { }Disconnects and ends the session if it hasn't been ended |
suspendSession { }Disconnects this connection from the current session but leaves the session open so that another connection can connect to it using resumeSession |
| Procedure Detail |
proc autoCommitOff { }
proc autoCommitOn { }
proc begin { }
proc bindFormat { }
proc clientVersion { }
proc commit { }
proc dbHostName { }
proc dbIpAddress { }
proc dbVersion { }
proc debugOff { }
proc debugOn { }
proc disableEncryption { }
proc enableKerberos { service mech flags }
proc enableTls { version cert password ciphers validate ca depth }
proc endSession { }
proc errorMessage { }
proc errorNumber { }
proc getClientInfo { }
proc getConnectionPort { }
proc getConnectionSocket { }
proc getCurrentDatabase { }
proc getDebug { }
proc getLastInsertId { }
proc identify { }
proc ping { }
proc resumeSession { port socket }
proc rollback { }
proc selectDatabase { database }
proc serverVersion { }
proc setAuthenticationTimeout { timeoutsec timeoutusec }
proc setClientInfo { clientinfo }
proc setConnectTimeout { timeoutsec timeoutusec }
proc setDebugFile { debugfilename }
proc setResponseTimeout { timeoutsec timeoutusec }
proc sqlrconCmd { server port socket user password retrytime tries }
proc sqlrconDelete { }
proc suspendSession { }