aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomas Vondra <tomas.vondra@postgresql.org>2019-06-15 21:38:53 +0200
committerTomas Vondra <tomas.vondra@postgresql.org>2019-06-16 01:20:42 +0200
commit7f44efa10b6ea3e5fd125e2800f357f38ab1068c (patch)
treef3632d29143dfcee894899df857e9d7e10b43eb7
parentaa087ec64f703a52f3c48c70117bb02e578f1802 (diff)
downloadpostgresql-7f44efa10b6ea3e5fd125e2800f357f38ab1068c.tar.gz
postgresql-7f44efa10b6ea3e5fd125e2800f357f38ab1068c.zip
Fix incorrect CREATE STATISTICS example in docs
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
-rw-r--r--doc/src/sgml/ref/create_statistics.sgml2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/src/sgml/ref/create_statistics.sgml b/doc/src/sgml/ref/create_statistics.sgml
index ae1d8024a4e..ec23a154d68 100644
--- 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;