Re: Use uppercase keywords in foreign key tutorial

Nathan Bossart <nathandbossart@gmail.com>

From: Nathan Bossart <nathandbossart@gmail.com>
To: Euler Taveira <euler@eulerto.com>
Cc: David Rowley <dgrowleyml@gmail.com>, Erik Wienhold <ewie@ewie.name>, pgsql-docs@lists.postgresql.org
Date: 2025-10-28T21:34:45Z
Lists: pgsql-docs
I noticed the patch also changes some column types to lowercase:

 <programlisting>
 CREATE TYPE tablefunc_crosstab_N AS (
-    row_name TEXT,
-    category_1 TEXT,
-    category_2 TEXT,
+    row_name text,
+    category_1 text,
+    category_2 text,
         .
         .
         .
-    category_N TEXT
+    category_N text
 );
 </programlisting>

FWIW I tend to use uppercase for those, too, but I'm not sure there is a
preferred style for the docs.

-- 
nathan



Commits

  1. Doc: more uppercase keywords in SQLs

  2. Doc: use uppercase keywords in SQLs