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

represents a PostgreSQL-specific index More...

Inherits AbstractIndex.

Public Member Functions

 constructor (string n_name, bool n_unique, hash n_cols, *string n_tablespace)
 creates the object from the arguments
 
bool equalImpl (AbstractIndex ix)
 returns True if the argument is equal to the current index, False if not
 
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
 

Detailed Description

represents a PostgreSQL-specific index