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

From: PG Bug reporting form <noreply(at)postgresql(dot)org>
To: pgsql-bugs(at)lists(dot)postgresql(dot)org
Cc: harukat(at)sraoss(dot)co(dot)jp
Subject: BUG #15849: (Document) Generated Columns sample code has a strange expression
Date: 2019-06-13 02:19:54
Message-ID: 15849-37ad0c561a836107@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

The following bug has been logged on the website:

Bug reference: 15849
Logged by: TAKATSUKA Haruka
Email address: harukat(at)sraoss(dot)co(dot)jp
PostgreSQL version: 12beta1
Operating system: (document)
Description:

The text in Generated Columns subsection at 12beta1 and HEAD includes *1
"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".

*1 https://www.postgresql.org/docs/devel/ddl-generated-columns.html

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2019-06-13 02:57:28 Re: BUG #15836: Casting 'of' to boolean type should throw an invalid input syntax
Previous Message Nagaraj Raj 2019-06-12 18:53:41 Re: BUG #15848: cluster initialization failed