Skip to content

Commit 347f8dc

Browse files
kulaginmarssher
authored andcommitted
PostgreSQL 13 compatibility.
Also try to log tail of PG logs on CI in a brave hope of catching troubles there. Currently travis job on 10 rarely fails at test_concurrent_updates, but we've failed to reproduce the issue locally. Note that test_concurrent_updates actually doesn't perform anything useful as testgres nodes aren't pickable due to weird logging implemented in separate thread, but nobody cared to check apply_async result so this has went unnoticed for a long time.
1 parent bf13f4a commit 347f8dc

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

67 files changed

+6202
-100
lines changed

.travis.yml

+2
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ notifications:
1818
on_failure: always
1919

2020
env:
21+
- PG_VERSION=13 LEVEL=hardcore
22+
- PG_VERSION=13
2123
- PG_VERSION=12 LEVEL=hardcore
2224
- PG_VERSION=12
2325
- PG_VERSION=11 LEVEL=hardcore

Makefile

+3-1
Original file line numberDiff line numberDiff line change
@@ -66,14 +66,16 @@ REGRESS = pathman_array_qual \
6666

6767
EXTRA_REGRESS_OPTS=--temp-config=$(top_srcdir)/$(subdir)/conf.add
6868

69-
EXTRA_CLEAN = pg_pathman--$(EXTVERSION).sql ./isolation_output
69+
CMOCKA_EXTRA_CLEAN = missing_basic.o missing_list.o missing_stringinfo.o missing_bitmapset.o rangeset_tests.o rangeset_tests
70+
EXTRA_CLEAN = ./isolation_output $(patsubst %,tests/cmocka/%, $(CMOCKA_EXTRA_CLEAN))
7071

7172
ifdef USE_PGXS
7273
PG_CONFIG=pg_config
7374
PGXS := $(shell $(PG_CONFIG) --pgxs)
7475
VNUM := $(shell $(PG_CONFIG) --version | awk '{print $$2}')
7576

7677
# check for declarative syntax
78+
# this feature will not be ported to >=12
7779
ifeq ($(VNUM),$(filter 10% 11%,$(VNUM)))
7880
REGRESS += pathman_declarative
7981
OBJS += src/declarative.o

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,15 @@
55

66
### NOTE: this project is not under development anymore
77

8-
`pg_pathman` supports Postgres versions [9.5..12], but most probably it won't be ported to 13 and later releases. [Native partitioning](https://www.postgresql.org/docs/current/ddl-partitioning.html) is pretty mature now and has almost everything implemented in `pg_pathman`'; we encourage users switching to it. We are still maintaining the project (fixing bugs in supported versions), but no new development is going to happen here.
8+
`pg_pathman` supports Postgres versions [9.5..13], but most probably it won't be ported to 14 and later releases. [Native partitioning](https://www.postgresql.org/docs/current/ddl-partitioning.html) is pretty mature now and has almost everything implemented in `pg_pathman`'; we encourage users switching to it. We are still maintaining the project (fixing bugs in supported versions), but no new development is going to happen here.
99

1010
# pg_pathman
1111

1212
The `pg_pathman` module provides optimized partitioning mechanism and functions to manage partitions.
1313

1414
The extension is compatible with:
1515

16-
* PostgreSQL 9.5, 9.6, 10, 11, 12;
16+
* PostgreSQL 9.5, 9.6, 10, 11, 12, 13;
1717
* Postgres Pro Standard 9.5, 9.6, 10, 11, 12;
1818
* Postgres Pro Enterprise;
1919

expected/pathman_basic.out

+3
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
* Since 8edd0e794 (>= 12) Append nodes with single subplan are eliminated,
33
* causing different output. Also, EXPLAIN now always shows key first in quals
44
* ('test commutator' queries).
5+
*
6+
* Since 55a1954da16 and 6ef77cf46e8 (>= 13) output of EXPLAIN was changed,
7+
* now it includes aliases for inherited tables.
58
*/
69
\set VERBOSITY terse
710
SET search_path = 'public';

expected/pathman_basic_1.out

+3
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
* Since 8edd0e794 (>= 12) Append nodes with single subplan are eliminated,
33
* causing different output. Also, EXPLAIN now always shows key first in quals
44
* ('test commutator' queries).
5+
*
6+
* Since 55a1954da16 and 6ef77cf46e8 (>= 13) output of EXPLAIN was changed,
7+
* now it includes aliases for inherited tables.
58
*/
69
\set VERBOSITY terse
710
SET search_path = 'public';

0 commit comments

Comments
 (0)