Commit 7f44efa1 authored by Tomas Vondra's avatar Tomas Vondra

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
parent aa087ec6
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment