Qore PgsqlSqlUtil Module Reference  1.0
 All Classes Namespaces Functions Variables Groups Pages
PgsqlSqlUtil::PgsqlDatabase Class Reference

provides the PostgreSQL-specific implementation of the AbstractDatabase interface More...

Inheritance diagram for PgsqlSqlUtil::PgsqlDatabase:

Static Public Member Functions

static any tryExecArgs (AbstractDatasource ds, string sql, *softlist args)
 tries to execute a command so that if an error occurs the current transaction status is not lost
 
static any tryExecRaw (AbstractDatasource ds, string sql)
 tries to execute a command so that if an error occurs the current transaction status is not lost
 

Public Attributes

const PgsqlSchemaDescriptionOptions
 PostgreSQL-specific schema description keys.
 

Private Member Functions

softint getNextSequenceValueImpl (string name)
 returns the next value in the given sequence
 
hash getSchemaDescriptionOptions ()
 returns driver-specific options to the base abstract class
 
list listFunctionsImpl ()
 returns a list of string function names in the database More...
 
list listProceduresImpl ()
 since PostgreSQL only supports functions, this method is identical to listFunctionsImpl() More...
 
list listTablesImpl ()
 returns a list of string table names in the database
 
bool supportsPackagesImpl ()
 returns True if the database supports packages
 
bool supportsSequencesImpl ()
 returns True if the database supports sequences
 
bool supportsTypesImpl ()
 returns True if the database supports named types
 
any tryExecArgsImpl (string sql, *softlist args)
 tries to execute a command so that if an error occurs the current transaction status is not lost
 
any tryExecRawImpl (string sql, *softlist args)
 tries to execute a command so that if an error occurs the current transaction status is not lost
 

Detailed Description

provides the PostgreSQL-specific implementation of the AbstractDatabase interface

Member Function Documentation

list PgsqlSqlUtil::PgsqlDatabase::listFunctionsImpl ( )
private

returns a list of string function names in the database

The function names will include arguments in parentheses after the names

Returns
a list of string function names in the database
list PgsqlSqlUtil::PgsqlDatabase::listProceduresImpl ( )
private

since PostgreSQL only supports functions, this method is identical to listFunctionsImpl()

See Also
listFunctionsImpl()