18 Commits

Author SHA1 Message Date
Fabrízio de Royes Mello
fbc1fbb64b PG16: Enable CI
This commit enables PG16 in the following workflows:
* Regression Linux (including 32bit)
* ABI test
* Memory tests
* Sanitizer tests
* Coverity
2023-11-04 13:29:02 -03:00
Sven Klemm
89dceeabd4 Make pgtest input/output dir optional
PG15 removes the input and output directory from the pg regression
test files and moves those files into sql and output directories.
Currently cmake errors when those directories are not present in
PG_SOURCE_DIR. This patch makes those directories optional so cmake
does not fail when PG_SOURCE_DIR contains the checkout of a version
without these directories.

https://github.com/postgres/postgres/commit/d1029bb5
https://github.com/postgres/postgres/commit/dc9c3b0f
2022-01-24 16:37:38 +01:00
Sven Klemm
de24d81b47 Fix snapshot pg regresscheck
Upstream added a new regression test for binary compatibility check.
Since we define our own types the test will fail with timescaledb
installed as the test does not expect to see those additional types.
This patch changes our CI to ignore result of type_sanity test.
Currently those are only in REL_XX_STABLE but with release of next minor
version those will enter normal tests as well.

https://github.com/postgres/postgres/commit/cf3d79aa31f
2021-11-22 15:04:10 +01:00
Mats Kindahl
71e8f13871 Add workflow and CMake support for formatting
Add a workflow to check that CMake files are correctly formatted as
well as a custom target to format CMake files in the repository. This
commit also runs the formatting on all CMake files in the repository.
2021-06-17 22:52:29 +02:00
Sven Klemm
45384357bd Bump postgres versions used in CI
Change CI tests to run against pg 11.12, 12.7 and 13.3.

The latest postgres versions adjusts the event_trigger test to
output the list of currently defined event triggers making the
test output different when timescaledb is installed since we
define our own event triggers. Due to this change we have to
ignore the result of this test in our CI.

https://github.com/postgres/postgres/commit/f3c45378
2021-05-18 16:22:23 +02:00
Sven Klemm
b6d9cda55d Ignore advisory_lock of pgregresscheck
The advisory_lock test of the postgres test suite is flaky so
this patch changes CI to ignore failures in that test.
2021-04-08 14:16:00 +02:00
Sven Klemm
9c7b024705 Run regresscheck-t on PG13
This patch enables running regresscheck-t on PG13
2021-02-12 22:18:06 +01:00
Ruslan Fomkin
47da8790bc Test latest PG 11.10 and 12.5 2020-11-18 15:26:57 +01:00
Erik Nordström
0c27dfaa78 Ignore PostgreSQL's timetz test
PostgreSQL's `timetz` test fails outside of daylight savings. The
test is ignored until fixed in PostgreSQL (likely to happen in
12.5).
2020-11-03 11:39:03 +01:00
Dmitry Simonenko
2b1b1bdf87 Show NOTICE message on a distributed DROP DATABASE
This patch adds a way to check and print a notice message
to a user who wants to drop an access node database.

Since database drop can only be done using different database
connection, this functionality is implemented inside loader
extension.

Functionality of the security labels are used in order to mark
a distributed database and make this information accessible
by other databases in pg_shseclabel table.
2020-05-27 17:31:09 +02:00
niksa
538e27d140 Add Noop Foreign Data Wrapper
This adds a skeleton TimescaleDB foreign data wrapper (FDW) for
scale-out clustering. It currently works as a noop FDW that can be
used for testing, although the intention is to develop it into a
full-blown implementation.
2020-05-27 17:31:09 +02:00
Sven Klemm
300b05daf0 Set random_page_cost to 1.0 for tests
Set random_page_cost to 1.0 to produce more reasonable plans.
This is similar to what timescaledb-tune would set.

This patch also adds test/pgtest.conf which is only used as
postgresql.conf for running the PostgreSQL test suite, because
the random_page_cost change lead to test failures in the PostgreSQL
test suite.
2019-03-07 19:11:17 +01:00
Sven Klemm
623c7f3dc6 Ignore rolenames pgregress test
The rolenames test seems to be fail quite often in CI, so we ignore
the result from that test for now.
2019-01-14 22:08:24 +01:00
Matvey Arye
9b41f24603 Fix pgtest schedule of tests
The way that ignores were used previously failed with parallel tests
because it only matched the first test in the parallel list of tests.
2019-01-03 18:31:39 -05:00
Sven Klemm
a72fe4b923 Create directory for postgres tablespace test
This is will not fix the tablespace test for remote instances
but local instances will work
2018-12-31 18:58:00 +01:00
Sven Klemm
8a5607688f Improve CI settings
run pginstallcheck with parallel schedule
don't stop on dependency error for installcheck
don't build postgres with --enable-coverage
2018-12-25 15:17:29 +01:00
Sven Klemm
d4619598a9 Add view to show hypertable information
Add timescaledb_information.hypertable view that lists
hypertables, their owner, number of chunks and storage size
2018-11-28 17:02:56 +01:00
Olof Rensfelt
c552410f69 Add build target to run the standard PostgreSQL regression tests
To verify that PostgreSQL operations on regular tables are unaffected by
the TimescaleDB extension, the regular PostgreSQL regression tests can be
run with the TimescaleDB extension loaded.

To enable the build target (`pginstallcheck`), one needs to set the
CMake `PG_SOURCE_DIR` variable to point to the PostgreSQL source code, which
needs to have at least the regression test suite compiled.

The PostgreSQL tests suite will run on every Travis build.
2017-11-17 20:24:30 +01:00