Qore PgsqlSqlUtil Module Reference  1.3.1
PgsqlSqlUtil::PgsqlIndex Class Reference

represents a PostgreSQL-specific index More...

Inheritance diagram for PgsqlSqlUtil::PgsqlIndex:

Public Member Methods

 constructor (string n_name, bool n_unique, hash n_cols, *string n_tablespace)
 creates the object from the arguments
 
string getCreateSql (string table_name, *hash opt)
 returns a string that can be used to create the index in the database
 
string getRenameSql (string table_name, string new_name)
 returns a string that can be used to rename the index in the database
 

Public Attributes

*string tablespace
 the tablespace name of the index
 

Private Member Methods

bool equalImpl (AbstractIndex ix)
 returns True if the argument is equal to the current index, False if not
 

Detailed Description

represents a PostgreSQL-specific index