Skip to content

Latest commit

 

History

History
40 lines (32 loc) · 1.69 KB

HISTORY.asc

File metadata and controls

40 lines (32 loc) · 1.69 KB

STABLE

0.2.0

Backwards-incompatible: requires cat_tools 0.3.0 or later

Any older cat_tools is rejected at CREATE EXTENSION and ALTER EXTENSION UPDATE. Previously any cat_tools version was accepted.

Backwards-incompatible: reg* columns removed from _object_reference._object_oid

The regclass, regconfig, regdictionary, regnamespace, regoperator, regprocedure and regtype columns are gone, replaced by plain oid classid and objid columns. Anything that reads those internal columns directly breaks. The count_nulls extension is no longer required.

Special update step

Run ALTER EXTENSION cat_tools UPDATE to 0.3.0 or later before ALTER EXTENSION object_reference UPDATE.

Add objectdescribe(), objectidentity() and object__cleanup()

objectdescribe() and objectidentity() wrap pg_describe_object() and pg_identify_object(). object__cleanup() deletes an object’s reference if nothing else still uses it, ignoring foreign_key_violation. It now runs automatically when an object is removed from its last object group.

Refuse to track temporary objects

object__getsert() raises an error for objects in a pg_temp* or pg_toast_temp* schema.

Refuse to track object_reference’s own objects

object__getsert() raises feature_not_supported for any member of the object_reference extension itself.

Partitioned tables and indexes are unsupported object types

They are listed by object_reference.unsupported(), because pg_get_object_address() can’t round-trip them.

Stop overriding client_min_messages during install

CREATE EXTENSION already raises it as needed; the script’s own setting could lower a stricter caller’s level.