OID aliases with catalog-dependent input/output, following regproc.c.
Values remain unsigned OIDs. Lookup uses the statement's database and search path; no parsed plan retains a database snapshot. Catalog projection and name resolution consume the same routine descriptors.
OID aliases with catalog-dependent input/output, following regproc.c. Values remain unsigned OIDs. Lookup uses the statement's database and search path; no parsed plan retains a database snapshot. Catalog projection and name resolution consume the same routine descriptors.
(input kind value)OID alias input. A numeric value preserves OID identity; text
resolves names. to_reg* callers use input-or-nil for soft errors.
OID alias input. A numeric value preserves OID identity; text resolves names. `to_reg*` callers use input-or-nil for soft errors.
(output oid value format-type)Render an OID alias against the current statement's identities/visibility.
Render an OID alias against the current statement's identities/visibility.
(registry-relation db {:keys [oid namespace-oid name]})Resolve registered or fixed catalog identities without the SQL layer. SQL supplies a provider that additionally knows native inferred relations.
Resolve registered or fixed catalog identities without the SQL layer. SQL supplies a provider that additionally knows native inferred relations.
(relation-object-descriptor db object)The identity shared by pg_class projection and OID-alias lookup.
The identity shared by pg_class projection and OID-alias lookup.
(routines db)Descriptors shared by pg_proc projection and regproc-family lookup. Builtin metadata describes PostgreSQL identities, not an assertion that every catalog entry has an executable implementation.
Descriptors shared by pg_proc projection and regproc-family lookup. Builtin metadata describes PostgreSQL identities, not an assertion that every catalog entry has an executable implementation.
(type-io-routine-oid name)Resolve a static pg_type handler reference independently of search_path. Missing handlers are zero; unknown or ambiguous registry names are errors.
Resolve a static pg_type handler reference independently of search_path. Missing handlers are zero; unknown or ambiguous registry names are errors.
(type-oid db spelling)Resolve and validate a TypeName. PostgreSQL's type grammar and typmodin errors are hard errors even within to_regprocedure; missing types are soft.
Resolve and validate a TypeName. PostgreSQL's type grammar and typmodin errors are hard errors even within to_regprocedure; missing types are soft.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |