PHP Manual Function Reference Database Extensions Vendor Specific Database Extensions PostgreSQL Installing/Configuring Resource Types Runtime Configuration Predefined Constants Resource Types There are two resource types used in the PostgreSQL module. The first one is the link identifier for a database connection, the second a resource which holds the result of a query.