is a mixin containing various useful queries that are postgres 
  specific.
  This mixin expects a parent that mixes is QuerierMixin (that, for now,
  also mixes in PostgresQueryMixin, so you won't need to mix this in).
    |  | 
        
          | getServerVersion(self,
        digits=2) returns the version of the connection's server to digits numbers.
 | source code |  | 
    |  | 
        
          | getPrimaryIndexName(self,
        tableName) returns the name of the index corresponding to the primary key on 
      (the unqualified) tableName.
 | source code |  | 
    |  | 
        
          | schemaExists(self,
        schema) returns True if the named schema exists in the database.
 | source code |  | 
    |  | 
        
          | hasIndex(self,
        tableName,
        indexName,
        schema=None) returns True if table tablename has and index called indexName.
 | source code |  | 
    |  | 
        
          | getForeignKeyName(self,
        srcTableName,
        destTableName,
        srcColNames,
        destColNames,
        schema=None) returns True if there's a foreign key constraint on srcTable's 
      srcColNames using destTableName's destColNames.
 | source code |  | 
    |  | 
        
          | foreignKeyExists(self,
        srcTableName,
        destTableName,
        srcColNames,
        destColNames,
        schema=None) | source code |  | 
    |  |  | 
    |  |  | 
    |  | 
        
          | roleExists(self,
        role) returns True if there role is known to the database.
 | source code |  | 
    |  |  | 
    |  |  | 
    |  |  | 
    |  | 
        
          | getSchemaPrivileges(self,
        schema) returns (owner, readRoles, allRoles) for schema's ACL.
 | source code |  | 
    |  |  | 
    |  | 
        
          | parsePGACL(self,
        acl) returns a dict roleName->acl for acl in postgres' ACL 
      serialization.
 | source code |  | 
    |  | 
        
          | getACLFromRes(self,
        thingWithPrivileges) returns a dict of (role, ACL) as it is defined in 
      thingWithPrivileges.
 | source code |  | 
  
    | Inherited from object:__delattr__,__format__,__getattribute__,__hash__,__init__,__new__,__reduce__,__reduce_ex__,__repr__,__setattr__,__sizeof__,__str__,__subclasshook__ |