Re: BUG #15849: (Document) Generated Columns sample code has a strange expression - Mailing list pgsql-bugs

From Tom Lane
Subject Re: BUG #15849: (Document) Generated Columns sample code has a strange expression
Date
Msg-id 5953.1560395204@sss.pgh.pa.us
Whole thread Raw
In response to BUG #15849: (Document) Generated Columns sample code has a strange expression  (PG Bug reporting form <noreply@postgresql.org>)
List pgsql-bugs
PG Bug reporting form <noreply@postgresql.org> writes:
> The text in Generated Columns  subsection at 12beta1 and HEAD includes
> "height_in numeric GENERATED ALWAYS AS (height_cm * 2.54) STORED".
> It should be
> "height_in numeric GENERATED ALWAYS AS (height_cm / 2.54) STORED".

Yeah, I think you're right.  Pushed, thanks!

            regards, tom lane



pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: BUG #15836: Casting 'of' to boolean type should throw an invalid input syntax
Next
From: Rajput Vishwas Kumar Shankarbhai
Date:
Subject: Not able to create partition table using partition by list method