Skip to content

Commit ca499bd

Browse files
committed
Set minimum supported PostgreSQL version to 12
There is a change somewhere either between pg 11 and 12 or with the associated PostGIS version used where float resuls have more precision in the new version which makes our tests fail on 11. Version 11 is out of support upsteam anyways.
1 parent ee2f4b0 commit ca499bd

2 files changed

Lines changed: 9 additions & 9 deletions

File tree

.github/workflows/ci.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@ on: [ push, pull_request ]
44

55
jobs:
66

7-
ubuntu22-pg11-gcc10-jit:
7+
ubuntu22-pg12-gcc10-jit:
88
runs-on: ubuntu-22.04
99

1010
env:
1111
CC: gcc-10
1212
CXX: g++-10
1313
LUA_VERSION: 5.3
1414
LUAJIT_OPTION: ON
15-
POSTGRESQL_VERSION: 11
15+
POSTGRESQL_VERSION: 12
1616
POSTGIS_VERSION: 3
1717
BUILD_TYPE: Release
1818
PSYCOPG: 2
@@ -23,15 +23,15 @@ jobs:
2323
- uses: ./.github/actions/linux-cmake
2424
- uses: ./.github/actions/build-and-test
2525

26-
ubuntu22-pg11-clang13-jit:
26+
ubuntu22-pg12-clang13-jit:
2727
runs-on: ubuntu-22.04
2828

2929
env:
3030
CC: clang-13
3131
CXX: clang++-13
3232
LUA_VERSION: 5.3
3333
LUAJIT_OPTION: ON
34-
POSTGRESQL_VERSION: 11
34+
POSTGRESQL_VERSION: 12
3535
POSTGIS_VERSION: 3
3636
BUILD_TYPE: Release
3737
PSYCOPG: 2
@@ -42,15 +42,15 @@ jobs:
4242
- uses: ./.github/actions/linux-cmake
4343
- uses: ./.github/actions/build-and-test
4444

45-
ubuntu22-pg11-gcc10:
45+
ubuntu22-pg12-gcc10:
4646
runs-on: ubuntu-22.04
4747

4848
env:
4949
CC: gcc-10
5050
CXX: g++-10
5151
LUA_VERSION: 5.3
5252
LUAJIT_OPTION: OFF
53-
POSTGRESQL_VERSION: 11
53+
POSTGRESQL_VERSION: 12
5454
POSTGIS_VERSION: 3
5555
BUILD_TYPE: Debug
5656
PSYCOPG: 2
@@ -62,15 +62,15 @@ jobs:
6262
- uses: ./.github/actions/build-and-test
6363

6464

65-
ubuntu22-pg11-clang13:
65+
ubuntu22-pg12-clang13:
6666
runs-on: ubuntu-22.04
6767

6868
env:
6969
CC: clang-13
7070
CXX: clang++-13
7171
LUA_VERSION: 5.3
7272
LUAJIT_OPTION: OFF
73-
POSTGRESQL_VERSION: 11
73+
POSTGRESQL_VERSION: 12
7474
POSTGIS_VERSION: 3
7575
BUILD_TYPE: Debug
7676
PSYCOPG: 2

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ option to `ON`) but make sure you are using a compatible version:
7070
* [protozero](https://github.com/mapbox/protozero) (>= 1.6.3)
7171

7272
It also requires access to a database server running
73-
[PostgreSQL](https://www.postgresql.org/) (version 11+ works, 13+ strongly
73+
[PostgreSQL](https://www.postgresql.org/) (version 12+ works, 14+ strongly
7474
recommended) and [PostGIS](https://www.postgis.net/) (version 3.0+).
7575

7676
Make sure you have installed the development packages for the libraries

0 commit comments

Comments
 (0)