Re: terminology in example - Mailing list pgsql-docs

From Laurenz Albe
Subject Re: terminology in example
Date
Msg-id f882f36c5a00d72d4c4fc6e05d1881bf3b903e20.camel@cybertec.at
Whole thread Raw
In response to Re: terminology in example  (Bruce Momjian <bruce@momjian.us>)
Responses Re: terminology in example  (Bruce Momjian <bruce@momjian.us>)
List 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




pgsql-docs by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: terminology in example
Next
From: Bruce Momjian
Date:
Subject: Re: terminology in example