BUG #15849: (Document) Generated Columns sample code has a strange expression
BUG #15849: (Document) Generated Columns sample code has a strange expression
От:
PG Bug reporting form <noreply@postgresql.org>
Дата:
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
Re: BUG #15849: (Document) Generated Columns sample code has a strange expression
От:
Tom Lane <tgl@sss.pgh.pa.us>
Дата:
PG Bug reporting form 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