public inbox for [email protected]  
help / color / mirror / Atom feed
From: Peter Eisentraut <[email protected]>
To: Bruce Momjian <[email protected]>
To: David G. Johnston <[email protected]>
Cc: Tom Jakubowski <[email protected]>
Cc: Pg Docs <[email protected]>
Subject: Re: Cities name column name inconsistent
Date: Thu, 24 Jun 2021 13:24:01 +0200
Message-ID: <[email protected]> (raw)
In-Reply-To: <[email protected]>
References: <[email protected]>
	<CAKFQuwY2-u68DGu3xJOZfiTTHTBqsx-KZ=Yn3ArOZV2_bq=CHQ@mail.gmail.com>
	<[email protected]>

On 14.06.21 18:29, Bruce Momjian wrote:
> On Sat, Jun 12, 2021 at 12:48:25PM -0700, David G. Johnston wrote:
>>
>> On Sat, Jun 12, 2021, 12:28 PG Doc comments form <[email protected]>
>> wrote:
>>
>>      The following documentation comment has been logged on the website:
>>
>>      Page: https://www.postgresql.org/docs/13/tutorial-fk.html
>>      Description:
>>
>>      In earlier sections of the tutorial, the cities table had a column called
>>      'name'. In this chapter, when creating the revised schema with foreign
>>      keys,
>>      the same column in the cities is now called 'city'.
>>
>>
>> You are correct.  I don't see an urgent need to spend time figuring out
>> something different.
> 
> I wrote the attached patch to improve this case.

The tutorial documentation is meant to be consistent with src/tutorial/, 
which uses cities.name, so calling the column "city" was just plain 
wrong in that respect.





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]
  Subject: Re: Cities name column name inconsistent
  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