Skip to content

sql: unable to retrieve built-in function descriptions via pg_objdescription #95292

@knz

Description

@knz

Describe the problem

Currently we can't retrieve builtin function comments via pg_objdescription, e.g. via

SELECT 
         p.proname AS "Name",
       pg_catalog.obj_description(p.oid, 'pg_proc') AS "Description"
     FROM pg_catalog.pg_proc p

This would be needed e.g. in:

Expected behavior

Built-in comments can be retrieved via pg_objdescription.

cc @rafiss for triage.
Epic: CRDB-23454

Jira issue: CRDB-23456

Metadata

Metadata

Assignees

Labels

A-sql-builtinsSQL built-in functions and semantics thereof.A-sql-pgcompatSemantic compatibility with PostgreSQLA-sql-vtablesVirtual tables - pg_catalog, information_schema etcC-bugCode not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions