From 9b073c28627635a3aecb0cf5089d253daf28e75b Mon Sep 17 00:00:00 2001
From: Arvind Kandpal <arvind.kandpal@ksolves.com>
Date: Thu, 5 Nov 2026 12:51:09 +0530
Subject: [PATCH v4] doc: Mention that * does not include system columns

In the SELECT reference page, say in the description of * in the
output list that it does not include system columns, with a link
to the System Columns section.

Discussion: https://postgr.es/m/178782026936.2606573.10270614257871556098@wrigleys.postgresql.org
---
 doc/src/sgml/ref/select.sgml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/doc/src/sgml/ref/select.sgml b/doc/src/sgml/ref/select.sgml
index 18392f7caec..f58d0031da2 100644
--- a/doc/src/sgml/ref/select.sgml
+++ b/doc/src/sgml/ref/select.sgml
@@ -1153,7 +1153,8 @@ EXCLUDE NO OTHERS
    <para>
     Instead of an expression, <literal>*</literal> can be written in
     the output list as a shorthand for all the columns of the selected
-    rows.  Also, you can write <literal><replaceable
+    rows (not including <link linkend="ddl-system-columns">system
+    columns</link>).  Also, you can write <literal><replaceable
     class="parameter">table_name</replaceable>.*</literal> as a
     shorthand for the columns coming from just that table.  In these
     cases it is not possible to specify new names with <literal>AS</literal>;
-- 
2.43.0

