Skip to content

Commit

Permalink
Issue #338: Remove old EOL PostgreSQL versions (#374)
Browse files Browse the repository at this point in the history
Mention in the documentation that PostgreSQL 9.4 and below are not supported.
Add PostgreSQL 9.5 and 9.6 into the tests. It helps us to see when they will stop working.
  • Loading branch information
za-arthur authored Nov 29, 2023
1 parent 872dc14 commit 624745b
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 83 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/regression.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ jobs:
- 12
- 11
- 10
- 9.6
- 9.5

name: PostgreSQL ${{ matrix.pg }}
runs-on: ubuntu-latest
Expand Down
4 changes: 3 additions & 1 deletion doc/pg_repack.rst
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,9 @@ Requirements
------------

PostgreSQL versions
PostgreSQL 9.4, 9.5, 9.6, 10, 11, 12, 13, 14, 15, 16
PostgreSQL 9.5, 9.6, 10, 11, 12, 13, 14, 15, 16.

PostgreSQL 9.4 and before it are not supported.

Disks
Performing a full-table repack requires free disk space about twice as
Expand Down
6 changes: 4 additions & 2 deletions doc/pg_repack_jp.rst
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,9 @@ pg_repackでは再編成する方法として次のものが選択できます
------------
PostgreSQL versions
PostgreSQL 9.4, 9.5, 9.6, 10, 11, 12, 13, 14, 15, 16
PostgreSQL 9.5, 9.6, 10, 11, 12, 13, 14, 15, 16.
PostgreSQL 9.4 and before it are not supported.
Disks
Performing a full-table repack requires free disk space about twice as
Expand All @@ -75,7 +77,7 @@ pg_repackでは再編成する方法として次のものが選択できます
---------

PostgreSQL バージョン
PostgreSQL 9.4, 9.5, 9.6, 10, 11, 12, 13, 14, 15, 16
PostgreSQL 9.5, 9.6, 10, 11, 12, 13, 14, 15, 16

ディスク
テーブル全体の再編成を行うには、対象となるテーブルと付属するインデックスのおよそ2倍のサイズのディスク空き容量が必要です。例えば、テーブルとインデックスを合わせたサイズが1GBの場合、2GBのディスク領域が必要となります。
Expand Down
2 changes: 1 addition & 1 deletion lib/pg_repack.sql.in
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ CREATE VIEW repack.tables AS
'SELECT repack.create_log_table(' || R.oid || ')' AS create_log,
repack.get_create_trigger(R.oid, PK.indexrelid) AS create_trigger,
repack.get_enable_trigger(R.oid) as enable_trigger,
'SELECT repack.create_table($1, $2)' AS create_table,
'SELECT repack.create_table($1, $2)'::text AS create_table,
coalesce(S.spcname, S2.spcname) AS tablespace_orig,
'INSERT INTO repack.table_' || R.oid || ' SELECT ' || repack.get_columns_for_create_as(R.oid) || ' FROM ONLY ' || repack.oid2text(R.oid) AS copy_data,
repack.get_alter_col_storage(R.oid) AS alter_col_storage,
Expand Down
69 changes: 0 additions & 69 deletions regress/travis_prepare.sh

This file was deleted.

10 changes: 0 additions & 10 deletions regress/travis_test.sh

This file was deleted.

0 comments on commit 624745b

Please sign in to comment.