git.postgresql.org Git - postgresql.git/commitdiff

git projects / postgresql.git / commitdiff
? search:
summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: aa087ec)
Fix incorrect CREATE STATISTICS example in docs
2019年6月15日 19:38:53 +0000 (21:38 +0200)
2019年6月15日 23:20:42 +0000 (01:20 +0200)
The example was incorrectly using parantheses around the list of columns, so
just drop them.

Reported-By: Robert Haas
Discussion: https://postgr.es/m/CA%2BTgmoZZEMAqWMAfvLHZnK57SoxOutgvE-ALO94WsRA7zZ7wyQ%40mail.gmail.com


diff --git a/doc/src/sgml/ref/create_statistics.sgml b/doc/src/sgml/ref/create_statistics.sgml
index ae1d8024a4e4e437b0d920bf8c4aa7694675225b..ec23a154d68560ca4da04e3c9f466d2eb1c38485 100644 (file)
--- a/doc/src/sgml/ref/create_statistics.sgml
+++ b/doc/src/sgml/ref/create_statistics.sgml
@@ -178,7 +178,7 @@ CREATE TABLE t2 (
INSERT INTO t2 SELECT mod(i,100), mod(i,100)
FROM generate_series(1,1000000) s(i);
-CREATE STATISTICS s2 (mcv) ON (a, b) FROM t2;
+CREATE STATISTICS s2 (mcv) ON a, b FROM t2;
ANALYZE t2;
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /