Additional Schema Collections
The PSQL ADO.NET Data Provider supports the following additional schema collections:
Columns Schema Collection
Description: The Columns schema collection identifies the columns of tables (including views) defined in the catalog that are accessible to a given user. Table 55 identifies the columns of tables defined in the catalog that are accessible to a given user.
Number of restrictions: 3
Restrictions available: TABLE_CATALOG, TABLE_NAME, COLUMN_NAME
Sort order: TABLE_CATALOG, TABLE_NAME, ORDINAL_POSITION
 
.NET Framework DataType1

1
All classes are System.XXX. For example, System.String.

ForeignKeys Schema Collection
Description: The ForeignKeys schema collection identifies the foreign key columns defined in the catalog by a given user.
Number of restrictions: 2
Restrictions available: FK_TABLE_CATALOG, PK_TABLE_NAME
Sort order: FK_TABLE_CATALOG, FK_TABLE_NAME
 
.NET Framework Datatype1

1
All classes are System.XXX. For example, System.String

Indexes Schema Collection
Description: The Indexes schema collection identifies the indexes defined in the catalog that are owned by a given user.
Number of restrictions: 2
Restrictions available: TABLE_CATALOG, TABLE_NAME
Sort order: UNIQUE, TYPE, INDEX_CATALOG, INDEX_NAME, ORDINAL_POSITION
 
.NET Framework DataType1

1
All classes are System.XXX. For example, System.String.

PrimaryKeys Schema Collection
Description: The PrimaryKeys schema collection identifies the primary key columns defined in the catalog by a given user.
Number of restrictions: 2
Restrictions available: TABLE_CATALOG, TABLE_NAME
Sort order: TABLE_CATALOG, TABLE_NAME
 
.NET Framework DataType1

1
All classes are System.XXX. For example, System.String.

ProcedureParameters Schema Collection
Description: The ProcedureParameters schema collection returns information about the parameters and return codes of procedures that are part of the Procedures collection.
Number of restrictions: 3
Restrictions available: PROCEDURE_CATALOG, PROCEDURE_NAME, PARAMETER_NAME
Sort order: PROCEDURE_CATALOG, PROCEDURE_NAME, ORDINAL_POSITION
 
.NET Framework DataType1

1
All classes are System.XXX. For example, System.String.

Procedures Schema Collection
Description: The Procedures schema collection identifies the procedures defined in the catalog. When possible, only procedures for which the connected user has execute permission should be returned.
Number of restrictions: 2
Restrictions available: PROCEDURE_CATALOG, PROCEDURE_NAME, PROCEDURE_TYPE
Sort order: PROCEDURE_CATALOG, PROCEDURE_NAME
 
.NET Framework DataType1

1
All classes are System.XXX. For example, System.String.

TablePrivileges Schema Collection
Description: The TablePrivileges schema collection identifies the privileges on tables defined in the catalog that are available to or granted by a given user.
Number of restrictions: 3
Restrictions available: TABLE_CATALOG, TABLE_NAME, GRANTEE
Sort order: TABLE_CATALOG, TABLE_NAME, PRIVILEGE_TYPE
 
Type Indicator1

1
All classes are System.XXX. For example, System.String.

Tables Schema Collection
Description: The Tables schema collection identifies the tables (including views) defined in the catalog that are accessible to a given user.
Number of Restrictions: 3
Restrictions Available: TABLE_CATALOG, TABLE_NAME, TABLE_TYPE
Sort order: TABLE_TYPE, TABLE_CATALOG, TABLE_NAME
 
.NET Framework DataType1

1
All classes are System.XXX. For example, System.String.

Views Schema Collection
Description: The Views schema collection identifies the views defined in the catalog that are accessible to a given user.
Number of restrictions: 2
Restrictions available: TABLE_CATALOG, TABLE_NAME
Sort order: TABLE_CATALOG, TABLE_NAME
 
Type Indicator1

1
All classes are System.XXX. For example, System.String.