Skip to content

Not all object types are listed by listOwnedObjects (M) #244

@afig

Description

@afig

As was known when PR #116 was merged, not all possible object types are listed by ClassDB.listOwnedObjects(). This became an problem in Issue #221 / PR #241, where listOwnedObjects() is used to obtain a list of objects to reassign ownership of all owned objects in a schema.

Currently, listOwnedObjects() lists the following types of objects:

  • Tables
  • Indexes
  • Sequences
  • Views
  • Materialized Views
  • Composite types (incorrectly called "types")
  • TOASTs
  • Foreign Tables
  • Functions (without parameters)

It does not list:

  • Domains
  • Operators
  • Non-composite types (Enumerated, Base, and Array)
  • Event Triggers
  • Servers
  • Text Search Configurations
  • Possibly others

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions