Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit7dc6ae3

Browse files
committed
Doc: fix bogus example.
This wasn't incorrect SQL, but it was doing cm-to-inch conversionbackward, so it might confuse readers.Per bug #15849 from TAKATSUKA Haruka.Discussion:https://postgr.es/m/15849-37ad0c561a836107@postgresql.org
1 parent9729c93 commit7dc6ae3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎doc/src/sgml/ddl.sgml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ CREATE TABLE products (
259259
CREATE TABLE people (
260260
...,
261261
height_cm numeric,
262-
height_in numeric <emphasis>GENERATED ALWAYS AS (height_cm* 2.54) STORED</emphasis>
262+
height_in numeric <emphasis>GENERATED ALWAYS AS (height_cm/ 2.54) STORED</emphasis>
263263
);
264264
</programlisting>
265265
The keyword <literal>STORED</literal> must be specified to choose the

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp