Skip to content

Commit

Permalink
drop pg14 support, delete alternative test outputs pt1
Browse files Browse the repository at this point in the history
  • Loading branch information
naisila committed Nov 19, 2024
1 parent d5a06e5 commit 786fa62
Show file tree
Hide file tree
Showing 27 changed files with 0 additions and 7,058 deletions.
11 changes: 0 additions & 11 deletions src/test/regress/expected/citus_local_tables_queries.out
Original file line number Diff line number Diff line change
@@ -1,17 +1,6 @@
--
-- CITUS_LOCAL_TABLES_QUERIES
--
-- This test file has an alternative output because of the change in the
-- display of SQL-standard function's arguments in INSERT/SELECT in PG15.
-- The alternative output can be deleted when we drop support for PG14
--
SHOW server_version \gset
SELECT substring(:'server_version', '\d+')::int >= 15 AS server_version_ge_15;
server_version_ge_15
---------------------------------------------------------------------
t
(1 row)

\set VERBOSITY terse
SET citus.next_shard_id TO 1509000;
SET citus.shard_replication_factor TO 1;
Expand Down
1,168 changes: 0 additions & 1,168 deletions src/test/regress/expected/citus_local_tables_queries_0.out

This file was deleted.

7 changes: 0 additions & 7 deletions src/test/regress/expected/columnar_pg15.out
Original file line number Diff line number Diff line change
@@ -1,10 +1,3 @@
SHOW server_version \gset
SELECT substring(:'server_version', '\d+')::int >= 15 AS server_version_ge_15
\gset
\if :server_version_ge_15
\else
\q
\endif
CREATE TABLE alter_am(i int);
INSERT INTO alter_am SELECT generate_series(1,1000000);
SELECT * FROM columnar.options WHERE relation = 'alter_am'::regclass;
Expand Down
6 changes: 0 additions & 6 deletions src/test/regress/expected/columnar_pg15_0.out

This file was deleted.

11 changes: 0 additions & 11 deletions src/test/regress/expected/coordinator_shouldhaveshards.out
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,6 @@
--
-- Test queries on a distributed table with shards on the coordinator
--
-- This test file has an alternative output because of the change in the
-- display of SQL-standard function's arguments in INSERT/SELECT in PG15.
-- The alternative output can be deleted when we drop support for PG14
--
SHOW server_version \gset
SELECT substring(:'server_version', '\d+')::int >= 15 AS server_version_ge_15;
server_version_ge_15
---------------------------------------------------------------------
t
(1 row)

CREATE SCHEMA coordinator_shouldhaveshards;
SET search_path TO coordinator_shouldhaveshards;
SET citus.next_shard_id TO 1503000;
Expand Down
1,190 changes: 0 additions & 1,190 deletions src/test/regress/expected/coordinator_shouldhaveshards_0.out

This file was deleted.

11 changes: 0 additions & 11 deletions src/test/regress/expected/cte_inline.out
Original file line number Diff line number Diff line change
@@ -1,17 +1,6 @@
--
-- CTE_INLINE
--
-- This test file has an alternative output because of the change in the
-- display of SQL-standard function's arguments in INSERT/SELECT in PG15.
-- The alternative output can be deleted when we drop support for PG14
--
SHOW server_version \gset
SELECT substring(:'server_version', '\d+')::int >= 15 AS server_version_ge_15;
server_version_ge_15
---------------------------------------------------------------------
t
(1 row)

CREATE SCHEMA cte_inline;
SET search_path TO cte_inline;
SET citus.next_shard_id TO 1960000;
Expand Down
Loading

0 comments on commit 786fa62

Please sign in to comment.