| From: | Bruce Momjian <bruce(at)momjian(dot)us> |
|---|---|
| To: | Nathan Bossart <nathandbossart(at)gmail(dot)com> |
| Cc: | Euler Taveira <euler(at)eulerto(dot)com>, David Rowley <dgrowleyml(at)gmail(dot)com>, Erik Wienhold <ewie(at)ewie(dot)name>, pgsql-docs(at)lists(dot)postgresql(dot)org |
| Subject: | Re: Use uppercase keywords in foreign key tutorial |
| Date: | 2025-10-29 20:34:24 |
| Message-ID: | aQJ6UIrQeC6impXg@momjian.us |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-docs |
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 <bruce(at)momjian(dot)us> https://momjian.us
EDB https://enterprisedb.com
Do not let urgent matters crowd out time for investment in the future.
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tom Lane | 2025-10-29 20:48:44 | Re: Use uppercase keywords in foreign key tutorial |
| Previous Message | Jaime Silvela | 2025-10-29 17:55:21 | Re: recovery_target_time format explanation should be clarified when using UTC zone |