Don't query PostgreSQL for the OIDs of an empty list of tables.