pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
BUG #15849: (Document) Generated Columns sample code has a strange expression
2+ messages / 2 participants
[nested] [flat]

* BUG #15849: (Document) Generated Columns sample code has a strange expression
@ 2019-06-13 02:19  PG Bug reporting form <noreply@postgresql.org>
  0 siblings, 1 reply; 2+ messages in thread

From: PG Bug reporting form @ 2019-06-13 02:19 UTC (permalink / raw)
  To: pgsql-bugs@lists.postgresql.org; +Cc: harukat@sraoss.co.jp

The following bug has been logged on the website:

Bug reference:      15849
Logged by:          TAKATSUKA Haruka
Email address:      harukat@sraoss.co.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



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: BUG #15849: (Document) Generated Columns sample code has a strange expression
@ 2019-06-13 03:06  Tom Lane <tgl@sss.pgh.pa.us>
  parent: PG Bug reporting form <noreply@postgresql.org>
  0 siblings, 0 replies; 2+ messages in thread

From: Tom Lane @ 2019-06-13 03:06 UTC (permalink / raw)
  To: harukat@sraoss.co.jp; +Cc: pgsql-bugs@lists.postgresql.org

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





^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2019-06-13 03:06 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2019-06-13 02:19 BUG #15849: (Document) Generated Columns sample code has a strange expression PG Bug reporting form <noreply@postgresql.org>
2019-06-13 03:06 ` Tom Lane <tgl@sss.pgh.pa.us>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox