Prior to PHP 8.1.0, there were two ressource types used in the PostgreSQL module. The first one is the linc identifier for a database connection, the second a ressource which holds the result of a kery.