Skip to content

Commit f9aedf3

Browse files
committed
Arrang stable15 with changes in the core. Also, one small bugfix in tests.
1 parent b64bc8e commit f9aedf3

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

aqo.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -420,7 +420,7 @@ _PG_init(void)
420420
"Set how many neighbors the cardinality prediction will be calculated",
421421
NULL,
422422
&aqo_k,
423-
1, INT_MAX / 1000,
423+
3, 1, INT_MAX / 1000,
424424
PGC_USERSET,
425425
0,
426426
NULL,

expected/plancache.out

+2-2
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,8 @@ SELECT * FROM f1();
4545
DROP FUNCTION f1;
4646
DROP TABLE test CASCADE;
4747
SELECT true FROM aqo_reset();
48-
bool
49-
------
48+
?column?
49+
----------
5050
t
5151
(1 row)
5252

0 commit comments

Comments
 (0)