Re: BUG #15849: (Document) Generated Columns sample code has a strange expression

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: harukat(at)sraoss(dot)co(dot)jp
Cc: pgsql-bugs(at)lists(dot)postgresql(dot)org
Subject: Re: BUG #15849: (Document) Generated Columns sample code has a strange expression
Date: 2019-06-13 03:06:44
Message-ID: 5953.1560395204@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

PG Bug reporting form <noreply(at)postgresql(dot)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

In response to

Browse pgsql-bugs by date

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