Skip to content

PostgreSQL-13 compatibility #220

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 8, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ notifications:
on_failure: always

env:
- PG_VERSION=13 LEVEL=hardcore
- PG_VERSION=13
- PG_VERSION=12 LEVEL=hardcore
- PG_VERSION=12
- PG_VERSION=11 LEVEL=hardcore
Expand Down
4 changes: 3 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -66,14 +66,16 @@ REGRESS = pathman_array_qual \

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

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

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

# check for declarative syntax
# this feature will not be ported to >=12
ifeq ($(VNUM),$(filter 10% 11%,$(VNUM)))
REGRESS += pathman_declarative
OBJS += src/declarative.o
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@

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

`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.
`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.

# pg_pathman

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

The extension is compatible with:

* PostgreSQL 9.5, 9.6, 10, 11, 12;
* PostgreSQL 9.5, 9.6, 10, 11, 12, 13;
* Postgres Pro Standard 9.5, 9.6, 10, 11, 12;
* Postgres Pro Enterprise;

Expand Down
3 changes: 3 additions & 0 deletions expected/pathman_basic.out
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
* Since 8edd0e794 (>= 12) Append nodes with single subplan are eliminated,
* causing different output. Also, EXPLAIN now always shows key first in quals
* ('test commutator' queries).
*
* Since 55a1954da16 and 6ef77cf46e8 (>= 13) output of EXPLAIN was changed,
* now it includes aliases for inherited tables.
*/
\set VERBOSITY terse
SET search_path = 'public';
Expand Down
3 changes: 3 additions & 0 deletions expected/pathman_basic_1.out
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
* Since 8edd0e794 (>= 12) Append nodes with single subplan are eliminated,
* causing different output. Also, EXPLAIN now always shows key first in quals
* ('test commutator' queries).
*
* Since 55a1954da16 and 6ef77cf46e8 (>= 13) output of EXPLAIN was changed,
* now it includes aliases for inherited tables.
*/
\set VERBOSITY terse
SET search_path = 'public';
Expand Down
Loading