pg.ddx.io pgsql-docs@postgresql.org mailing list archive
help / color / mirror / Atom feedroutine_sequence_usage column is named sequence_catalog, not schema_catalog
3+ messages / 2 participants
[nested] [flat]
Commits from this thread:
2026-11-03 1135869382 862f16f797 3b859f1715 1522acabb7 2acf64595b f556e297d1 ea7b9f7095 doc: Fix column name in routine_sequence_usage documentation
* routine_sequence_usage column is named sequence_catalog, not schema_catalog
@ 2026-10-31 06:56 PG Doc comments form <noreply@postgresql.org>
2026-11-01 15:35 ` Re: routine_sequence_usage column is named sequence_catalog, not schema_catalog Fujii Masao <masao.fujii@gmail.com>
0 siblings, 1 reply; 3+ messages in thread
From: PG Doc comments form @ 2026-10-31 06:56 UTC (permalink / raw)
To: pgsql-docs@lists.postgresql.org; +Cc: micro6947@gmail.com
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.
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: routine_sequence_usage column is named sequence_catalog, not schema_catalog
2026-10-31 06:56 routine_sequence_usage column is named sequence_catalog, not schema_catalog PG Doc comments form <noreply@postgresql.org>
@ 2026-11-01 15:35 ` Fujii Masao <masao.fujii@gmail.com>
2026-11-03 06:09 ` Re: routine_sequence_usage column is named sequence_catalog, not schema_catalog Fujii Masao <masao.fujii@gmail.com>
0 siblings, 1 reply; 3+ messages in thread
From: Fujii Masao @ 2026-11-01 15:35 UTC (permalink / raw)
To: micro6947@gmail.com; pgsql-docs@lists.postgresql.org
On Sat, Oct 31, 2026 at 6:50 PM PG Doc comments form
<noreply@postgresql.org> wrote:
> The same documentation text appears in PG14 through PG19 pages. I suggest
> changing schema_catalog to sequence_catalog in information_schema.sgml.
Thanks for the report! I've created the patch. Attached.
Barring any objections, I will commit it and backpatch it to v14.
Regards,
--
Fujii Masao
Attachments:
v1-0001-doc-Fix-column-name-in-routine_sequence_usage-doc.patch (application/octet-stream, 1.4K) download
From 8e9d7c0d936d1d443d1de3c95454c4309cc28878 Mon Sep 17 00:00:00 2001
From: Fujii Masao <fujii@postgresql.org>
Date: Sun, 1 Nov 2026 23:54:46 +0900
Subject: [PATCH v1] doc: Fix column name in routine_sequence_usage
documentation
The sequence catalog column of information_schema.routine_sequence_usage
is named sequence_catalog in the view definition, but the documentation
previously called it schema_catalog. Correct the documented column name
to match the view.
Backpatch to all supported versions.
Reported-by: micro6947@gmail.com
Author: Fujii Masao <masao.fujii@gmail.com>
Discussion: https://postgr.es/m/179342977864.1246.4971529844925475150@wrigleys.postgresql.org
Backpatch-through: 14
---
doc/src/sgml/information_schema.sgml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/doc/src/sgml/information_schema.sgml b/doc/src/sgml/information_schema.sgml
index 60b4c4ae8c0..2c20ec42607 100644
--- a/doc/src/sgml/information_schema.sgml
+++ b/doc/src/sgml/information_schema.sgml
@@ -5265,7 +5265,7 @@ ORDER BY c.ordinal_position;
<row>
<entry role="catalog_table_entry"><para role="column_definition">
- <structfield>schema_catalog</structfield> <type>sql_identifier</type>
+ <structfield>sequence_catalog</structfield> <type>sql_identifier</type>
</para>
<para>
Name of the database that contains the sequence that is used by the
--
2.56.0
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: routine_sequence_usage column is named sequence_catalog, not schema_catalog
2026-10-31 06:56 routine_sequence_usage column is named sequence_catalog, not schema_catalog PG Doc comments form <noreply@postgresql.org>
2026-11-01 15:35 ` Re: routine_sequence_usage column is named sequence_catalog, not schema_catalog Fujii Masao <masao.fujii@gmail.com>
@ 2026-11-03 06:09 ` Fujii Masao <masao.fujii@gmail.com>
0 siblings, 0 replies; 3+ messages in thread
From: Fujii Masao @ 2026-11-03 06:09 UTC (permalink / raw)
To: micro6947@gmail.com; pgsql-docs@lists.postgresql.org
On Mon, Nov 2, 2026 at 12:35 AM Fujii Masao <masao.fujii@gmail.com> wrote:
> Barring any objections, I will commit it and backpatch it to v14.
I've pushed the patch. Thanks!
Regards,
--
Fujii Masao
^ permalink raw reply [nested|flat] 3+ messages in thread
end of thread, other threads:[~2026-11-03 06:09 UTC | newest]
Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2026-10-31 06:56 routine_sequence_usage column is named sequence_catalog, not schema_catalog PG Doc comments form <noreply@postgresql.org>
2026-11-01 15:35 ` Fujii Masao <masao.fujii@gmail.com>
2026-11-03 06:09 ` Fujii Masao <masao.fujii@gmail.com>
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