Skip to content

Commit cd3e4cb

Browse files
Release 0.2.0 (#47)
1 parent bd380a4 commit cd3e4cb

7 files changed

Lines changed: 1976 additions & 5 deletions

‎CLAUDE.md‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,9 @@ doesn't exist locally — clone it to `../ai/` per its own first instruction)
66
for CI-monitoring and other cross-repo conventions, and `../ai/PR.md` for
77
PR conventions including the `CI: ` title-prefix rule.
88

9+
For cutting a release, follow [`../ai/RELEASE.md`](../ai/RELEASE.md) (or
10+
https://github.com/Postgres-Extensions/ai/blob/main/RELEASE.md). This repo has no
11+
repo-specific release steps, so it keeps no local `RELEASE.md`.
12+
913
This repository runs GitHub Actions CI via `.github/workflows/ci.yml` on
1014
every push and pull request.

‎HISTORY.asc‎

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
0.2.0
2+
-----
3+
== Backwards-incompatible: requires cat_tools 0.3.0 or later
4+
Any older cat_tools is rejected at `CREATE EXTENSION` and `ALTER EXTENSION
5+
UPDATE`. Previously any cat_tools version was accepted.
6+
7+
== Backwards-incompatible: `reg*` columns removed from `_object_reference._object_oid`
8+
The `regclass`, `regconfig`, `regdictionary`, `regnamespace`, `regoperator`,
9+
`regprocedure` and `regtype` columns are gone, replaced by plain `oid`
10+
`classid` and `objid` columns. Anything that reads those internal columns
11+
directly breaks. The `count_nulls` extension is no longer required.
12+
13+
== Special update step
14+
Run `ALTER EXTENSION cat_tools UPDATE` to 0.3.0 or later before `ALTER
15+
EXTENSION object_reference UPDATE`.
16+
17+
== Add `object__describe()`, `object__identity()` and `object__cleanup()`
18+
`object__describe()` and `object__identity()` wrap `pg_describe_object()` and
19+
`pg_identify_object()`. `object__cleanup()` deletes an object's reference
20+
if nothing else still uses it, ignoring `foreign_key_violation`. It now runs
21+
automatically when an object is removed from its last object group.
22+
23+
== Refuse to track temporary objects
24+
`object__getsert()` raises an error for objects in a `pg_temp*` or
25+
`pg_toast_temp*` schema.
26+
27+
== Refuse to track object_reference's own objects
28+
`object__getsert()` raises `feature_not_supported` for any member of the
29+
object_reference extension itself.
30+
31+
== Partitioned tables and indexes are unsupported object types
32+
They are listed by `object_reference.unsupported()`, because
33+
`pg_get_object_address()` can't round-trip them.
34+
35+
== Stop overriding `client_min_messages` during install
36+
`CREATE EXTENSION` already raises it as needed; the script's own setting
37+
could lower a stricter caller's level.

‎META.in.json‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"name": "object_reference",
1717

1818
"X_comment": "REQUIRED. Version of the distribution. http://pgxn.org/spec/#version",
19-
"version": "0.1.0",
19+
"version": "0.2.0",
2020

2121
"X_comment": "REQUIRED. Short description of distribution.",
2222
"abstract": "Provides immutable references to Postgres objects.",
@@ -41,7 +41,7 @@
4141
"file": "sql/object_reference.sql",
4242

4343
"X_comment": "REQUIRED. Version the extension is at.",
44-
"version": "0.1.0",
44+
"version": "0.2.0",
4545

4646
"X_comment": "Optional: \"abstract\": Description of the extension.",
4747
"abstract": "Provides immutable references to Postgres objects.",

‎META.json‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"name": "object_reference",
1717

1818
"X_comment": "REQUIRED. Version of the distribution. http://pgxn.org/spec/#version",
19-
"version": "0.1.0",
19+
"version": "0.2.0",
2020

2121
"X_comment": "REQUIRED. Short description of distribution.",
2222
"abstract": "Provides immutable references to Postgres objects.",
@@ -40,7 +40,7 @@
4040
"file": "sql/object_reference.sql",
4141

4242
"X_comment": "REQUIRED. Version the extension is at.",
43-
"version": "0.1.0",
43+
"version": "0.2.0",
4444

4545
"X_comment": "Optional: \"abstract\": Description of the extension.",
4646
"abstract": "Provides immutable references to Postgres objects.",

‎object_reference.control‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
comment = 'Provides reference IDs for database objects'
2-
default_version = 'stable'
2+
default_version = '0.2.0'
33
relocatable = false
44
schema = 'object_reference'
55
requires = 'cat_tools'

0 commit comments

Comments
 (0)