agora inbox for pgsql-docs@postgresql.org  
help / color / mirror / Atom feed
From: Nathan Bossart <nathandbossart@gmail.com>
To: Euler Taveira <euler@eulerto.com>
Cc: David Rowley <dgrowleyml@gmail.com>
Cc: Erik Wienhold <ewie@ewie.name>
Cc: pgsql-docs@lists.postgresql.org
Subject: Re: Use uppercase keywords in foreign key tutorial
Date: Tue, 28 Oct 2025 16:34:45 -0500
Message-ID: <aQE29YG5pY4Cl8ym@nathan> (raw)
In-Reply-To: <b8d76840-5927-40aa-b38e-8ccb685aea92@app.fastmail.com>
References: <82eb512b-8ed2-46be-b311-54ffd26978c4@ewie.name>
	<a5034028-3f97-4157-8fd2-6eb552ffaab8@app.fastmail.com>
	<0a9d7393-1cf2-4d38-a648-631c1f93e345@ewie.name>
	<CAApHDvoLfa2UjGfoGfVL4b=g5VbFgscrLONuC3kKE9=VZeeN=Q@mail.gmail.com>
	<b8d76840-5927-40aa-b38e-8ccb685aea92@app.fastmail.com>

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





view thread (25+ messages)  latest in thread

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

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: nathandbossart@gmail.com, euler@eulerto.com, dgrowleyml@gmail.com, ewie@ewie.name, pgsql-docs@lists.postgresql.org
  Subject: Re: Use uppercase keywords in foreign key tutorial
  In-Reply-To: <aQE29YG5pY4Cl8ym@nathan>

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

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