Re: Use uppercase keywords in foreign key tutorial - Mailing list pgsql-docs

From Euler Taveira
Subject Re: Use uppercase keywords in foreign key tutorial
Date
Msg-id b8d76840-5927-40aa-b38e-8ccb685aea92@app.fastmail.com
Whole thread Raw
In response to Re: Use uppercase keywords in foreign key tutorial  (David Rowley <dgrowleyml@gmail.com>)
Responses Re: Use uppercase keywords in foreign key tutorial
Re: Use uppercase keywords in foreign key tutorial
List pgsql-docs
On Thu, Oct 23, 2025, at 7:50 PM, David Rowley wrote:
> I'm not so sure about the "Should be pushed to all stable branches"
> part as it seems more of a general improvement than fixing a mistake.
> I imagine there will be varying opinions on that, however.
>

I also classify this as an improvement. No need to backpatch. I would apply
changes to back branches if the query is wrong; that's not the case.

I checked v2 and it looks good to me.

Since you are changing the query format, we have a mix of

CREATE TABLE foo(a int);
CREATE TABLE foo (a int);

The latter reads better for me. The same logic applies to VALUES. There is a
mix of space or non-space before parenthesis. Consistency is a good goal.


-- 
Euler Taveira
EDB   https://www.enterprisedb.com/



pgsql-docs by date:

Previous
From: David Rowley
Date:
Subject: Re: Use uppercase keywords in foreign key tutorial
Next
From: Nathan Bossart
Date:
Subject: Re: Use uppercase keywords in foreign key tutorial