public inbox for [email protected]  
help / color / mirror / Atom feed
From: Bruce Momjian <[email protected]>
To: Nathan Bossart <[email protected]>
Cc: Euler Taveira <[email protected]>
Cc: David Rowley <[email protected]>
Cc: Erik Wienhold <[email protected]>
Cc: [email protected]
Subject: Re: Use uppercase keywords in foreign key tutorial
Date: Wed, 29 Oct 2025 16:34:24 -0400
Message-ID: <[email protected]> (raw)
In-Reply-To: <aQE29YG5pY4Cl8ym@nathan>
References: <[email protected]>
	<[email protected]>
	<[email protected]>
	<CAApHDvoLfa2UjGfoGfVL4b=g5VbFgscrLONuC3kKE9=VZeeN=Q@mail.gmail.com>
	<[email protected]>
	<aQE29YG5pY4Cl8ym@nathan>

On Tue, Oct 28, 2025 at 04:34:45PM -0500, Nathan Bossart wrote:
> 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.

Agreed, uppercase is better for type names.

-- 
  Bruce Momjian  <[email protected]>        https://momjian.us
  EDB                                      https://enterprisedb.com

  Do not let urgent matters crowd out time for investment in the future.





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: [email protected]
  Cc: [email protected], [email protected], [email protected], [email protected], [email protected], [email protected]
  Subject: Re: Use uppercase keywords in foreign key tutorial
  In-Reply-To: <[email protected]>

* 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