object_reference
Provides immutable references to Postgres objects.
object_reference · Provides immutable references to Postgres objects.
Overview
| ID | Extension | Package | Version | Category | License | Language |
|---|---|---|---|---|---|---|
| 101482 | object_reference | object_reference | 0.1.0 | FEAT | BSD-3-Clause | SQL |
| Relationships | |
|---|---|
| Requires | cat_tools count_nulls |
Usage
Sources:
- Official extension control file (object_reference.control)
- Official extension SQL (object_reference.sql)
object_reference — Provides immutable references to Postgres objects. Use it when an application needs this specific database capability. Its extension dependencies must be installed and validated first.
Core Workflow
Install the extension in the intended database, run the smallest upstream example above when available, and verify the installed version and returned values before integrating it into application SQL.
Important Objects
__object_reference.create_function(function_name text , args text , options text , body text , comment text , grants text DEFAULT NULL)is an extension function and returnsvoid.__object_reference.exec(sql text)is an extension function and returnsvoid.__object_reference.safe_dump(relation regclass , filter text DEFAULT '')is an extension function and returnsvoid.snitch()is an extension function and returnsevent_trigger._object_reference.objectis a table installed or managed by the extension._object_reference.object_groupis a table installed or managed by the extension._object_reference.object_group__objectis a table installed or managed by the extension.
Requirements and Caveats
- The reviewed control file declares default version
0.1.0. - Install the confirmed extension dependencies first:
cat_tools,count_nulls. - The control file marks the extension as non-relocatable.
- Confirm privileges, supported PostgreSQL versions, upgrade behavior, and failure cases against the pinned source before production use.