Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 7f44efa

Browse files
committed
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
1 parent aa087ec commit 7f44efa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/src/sgml/ref/create_statistics.sgml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ CREATE TABLE t2 (
178178
INSERT INTO t2 SELECT mod(i,100), mod(i,100)
179179
FROM generate_series(1,1000000) s(i);
180180

181-
CREATE STATISTICS s2 (mcv) ON (a, b) FROM t2;
181+
CREATE STATISTICS s2 (mcv) ON a, b FROM t2;
182182

183183
ANALYZE t2;
184184

0 commit comments

Comments
 (0)