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