Re: terminology in example

From: Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at>
To: Bruce Momjian <bruce(at)momjian(dot)us>, taf1(at)cornell(dot)edu, pgsql-docs(at)lists(dot)postgresql(dot)org
Subject: Re: terminology in example
Date: 2020-04-01 06:37:30
Message-ID: f882f36c5a00d72d4c4fc6e05d1881bf3b903e20.camel@cybertec.at
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs

On Tue, 2020-03-31 at 19:10 -0400, Bruce Momjian wrote:

> The attached patch fixes the problem. The regression tests also have
> many mentions of "altitude." Should those be changed too?

I don't think that is necessary.
Names don't matter in the regression tests.

> --- a/doc/src/sgml/advanced.sgml
> +++ b/doc/src/sgml/advanced.sgml
> @@ -585,20 +585,20 @@ SELECT sum(salary) OVER w, avg(salary) OVER w
> CREATE TABLE capitals (
> name text,
> population real,
> - altitude int, -- (in ft)
> + elevation int, -- (in ft)
> state char(2)
> );
>
> CREATE TABLE non_capitals (
> name text,
> population real,
> - altitude int -- (in ft)
> + elevation int -- (in ft)
> );
>

> @@ -612,7 +612,7 @@ CREATE VIEW cities AS
> CREATE TABLE cities (
> name text,
> population real,
> - altitude int -- (in ft)
> + elevation int -- (in ft)
> );

The "int" should be aligned with the rest (delete one space).

Yours,
Laurenz Albe

In response to

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message Jürgen Purtz 2020-04-01 07:34:41 Re: Add A Glossary
Previous Message Bruce Momjian 2020-03-31 23:10:13 Re: terminology in example