Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit1291b12

Browse files
committed
Added Postgres 18 to CI [skip ci]
1 parent2452270 commit1291b12

File tree

3 files changed

+10
-2
lines changed

3 files changed

+10
-2
lines changed

‎.github/workflows/build.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ jobs:
88
fail-fast:false
99
matrix:
1010
include:
11-
#- postgres: 18
12-
# os: ubuntu-24.04
11+
-postgres:18
12+
os:ubuntu-24.04
1313
-postgres:17
1414
os:ubuntu-24.04
1515
-postgres:16

‎src/hnsw.c‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,10 @@ hnswcostestimate(PlannerInfo *root, IndexPath *path, double loop_count,
131131
*indexSelectivity=0;
132132
*indexCorrelation=0;
133133
*indexPages=0;
134+
#ifPG_VERSION_NUM >=180000
135+
/* See "On disable_cost" thread on pgsql-hackers */
136+
path->path.disabled_nodes=2;
137+
#endif
134138
return;
135139
}
136140

‎src/ivfflat.c‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,10 @@ ivfflatcostestimate(PlannerInfo *root, IndexPath *path, double loop_count,
9999
*indexSelectivity=0;
100100
*indexCorrelation=0;
101101
*indexPages=0;
102+
#ifPG_VERSION_NUM >=180000
103+
/* See "On disable_cost" thread on pgsql-hackers */
104+
path->path.disabled_nodes=2;
105+
#endif
102106
return;
103107
}
104108

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp