Fixed some leaks when destroying objects that are registered as
PgSQLType (table, sequence, extension, domain, view, type). Now these
type are correctly remove from user type listing.