pg.ddx.io  pgsql-docs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: PG Doc comments form <noreply@postgresql.org>
To: pgsql-docs@lists.postgresql.org
Cc: micro6947@gmail.com
Subject: routine_sequence_usage column is named sequence_catalog, not schema_catalog
Date: Sat, 31 Oct 2026 06:56:18 +0000
Message-ID: <179342977864.1246.4971529844925475150@wrigleys.postgresql.org> (raw)

The following documentation comment has been logged on the website:

Page: https://www.postgresql.org/docs/18/infoschema-routine-sequence-usage.html
Description:

The information_schema.routine_sequence_usage page names the sequence
catalog
column "schema_catalog", but the view returns "sequence_catalog".

On PostgreSQL 16.14:

    SELECT sequence_catalog
    FROM information_schema.routine_sequence_usage
    LIMIT 0;
    -- success

    SELECT schema_catalog
    FROM information_schema.routine_sequence_usage
    LIMIT 0;
    -- ERROR: column "schema_catalog" does not exist

The REL_18_STABLE view definition also declares sequence_catalog:

https://github.com/postgres/postgres/blob/REL_18_STABLE/src/backend/catalog/information_schema.sql#L...

The same documentation text appears in PG14 through PG19 pages. I suggest
changing schema_catalog to sequence_catalog in information_schema.sgml.







view thread (3+ messages)  latest in thread

Message-ID: <179342977864.1246.4971529844925475150@wrigleys.postgresql.org>
Permalink:  ../179342977864.1246.4971529844925475150@wrigleys.postgresql.org/
Also on:    postgresql.org/message-id/179342977864.1246.4971529844925475150@wrigleys.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-docs@postgresql.org
  Cc: noreply@postgresql.org, pgsql-docs@lists.postgresql.org, micro6947@gmail.com
  Subject: Re: routine_sequence_usage column is named sequence_catalog, not schema_catalog
  In-Reply-To: <179342977864.1246.4971529844925475150@wrigleys.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox