Skip to content

Commit e7a33e7

Browse files
authored
Merge pull request #2480 from joto/pg12-min
Set minimum supported PostgreSQL version to 12
2 parents cfc3642 + 063eab9 commit e7a33e7

3 files changed

Lines changed: 12 additions & 12 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

CMakeLists.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,10 +68,10 @@ if (NOT WIN32 AND NOT APPLE)
6868
set(PostgreSQL_TYPE_INCLUDE_DIR /usr/include)
6969
endif()
7070

71-
set(MINIMUM_POSTGRESQL_SERVER_VERSION "11")
72-
set(MINIMUM_POSTGRESQL_SERVER_VERSION_NUM "110000")
71+
set(MINIMUM_POSTGRESQL_SERVER_VERSION "12")
72+
set(MINIMUM_POSTGRESQL_SERVER_VERSION_NUM "120000")
7373

74-
set(PostgreSQL_ADDITIONAL_VERSIONS "19" "18" "17" "16" "15" "14" "13" "12" "11")
74+
set(PostgreSQL_ADDITIONAL_VERSIONS "19" "18" "17" "16" "15" "14" "13" "12")
7575

7676
#############################################################
7777
# Version

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)