pg_ha_migrations 2.1.0 → 2.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.github/workflows/ci.yml +5 -2
- data/Dockerfile +1 -1
- data/README.md +1 -1
- data/docker-compose.yml +1 -1
- data/lib/pg_ha_migrations/unsafe_statements.rb +2 -1
- data/lib/pg_ha_migrations/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: e104b78dae3bcbec72dc3f81c403d4c70935e43f67ef43d5363fe39de4e4139f
|
|
4
|
+
data.tar.gz: fe17e6f106fff9507d9ad62e2a6953d33aad1335005bd43c4b6ed2a7d6d1271d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a2b274232130fec7807eced8199dc19fa6c0e9eda29990ffe86815e942d1967ed5105c420bad89c7811a3223fcbedf372bdb6bccb292d27f274674e5e1df879d
|
|
7
|
+
data.tar.gz: 5bbc97af919639056e152186dc5eebfd90ee19fe445732d064774cdf132dd303bed41afae80ab9f39d88a392d5c1edede948db87189d4f59c87f0fe9a2861071
|
data/.github/workflows/ci.yml
CHANGED
|
@@ -10,6 +10,7 @@ jobs:
|
|
|
10
10
|
- 15
|
|
11
11
|
- 16
|
|
12
12
|
- 17
|
|
13
|
+
- 18
|
|
13
14
|
ruby:
|
|
14
15
|
- "3.2"
|
|
15
16
|
- "3.3"
|
|
@@ -22,10 +23,12 @@ jobs:
|
|
|
22
23
|
- 4
|
|
23
24
|
- 5
|
|
24
25
|
exclude:
|
|
25
|
-
- pg: 17
|
|
26
|
-
partman: 4 # Partman 4.x is not available in PGDG for PG 17
|
|
27
26
|
- pg: 13
|
|
28
27
|
partman: 5 # Partman 5.x is not available in PGDG for PG 13
|
|
28
|
+
- pg: 17
|
|
29
|
+
partman: 4 # Partman 4.x is not available in PGDG for PG 17
|
|
30
|
+
- pg: 18
|
|
31
|
+
partman: 4 # Partman 4.x is not available in PGDG for PG 18
|
|
29
32
|
name: PostgreSQL ${{ matrix.pg }} - Partman ${{ matrix.partman }} - Ruby ${{ matrix.ruby }} - ${{ matrix.gemfile }}
|
|
30
33
|
runs-on: ubuntu-latest
|
|
31
34
|
env: # $BUNDLE_GEMFILE must be set at the job level, so it is set for all steps
|
data/Dockerfile
CHANGED
|
@@ -13,7 +13,7 @@ FROM base AS partman-4-branch
|
|
|
13
13
|
ENV PARTMAN_VERSION=4.7.4-2.pgdg120+1
|
|
14
14
|
|
|
15
15
|
FROM base AS partman-5-branch
|
|
16
|
-
ENV PARTMAN_VERSION=5.
|
|
16
|
+
ENV PARTMAN_VERSION=5.3.1-1.pgdg12+1
|
|
17
17
|
|
|
18
18
|
FROM partman-$PARTMAN_VERSION-branch AS final
|
|
19
19
|
RUN apt update && apt-get install -y postgresql-$PG_MAJOR-partman=$PARTMAN_VERSION
|
data/README.md
CHANGED
|
@@ -102,7 +102,7 @@ The following functionality is currently unsupported:
|
|
|
102
102
|
|
|
103
103
|
### Compatibility Notes
|
|
104
104
|
|
|
105
|
-
- While some features may work with other versions, this gem is currently tested against PostgreSQL 13+ and Partman 4
|
|
105
|
+
- While some features may work with other versions, this gem is currently tested against PostgreSQL 13+ and Partman 4+
|
|
106
106
|
|
|
107
107
|
### Migration Methods
|
|
108
108
|
|
data/docker-compose.yml
CHANGED
|
@@ -241,7 +241,8 @@ module PgHaMigrations::UnsafeStatements
|
|
|
241
241
|
end
|
|
242
242
|
end
|
|
243
243
|
ensure
|
|
244
|
-
part_config.
|
|
244
|
+
part_config.restore_attributes
|
|
245
|
+
part_config.update!(automatic_maintenance: "on") if before_automatic_maintenance == "on"
|
|
245
246
|
end
|
|
246
247
|
end
|
|
247
248
|
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: pg_ha_migrations
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.1.
|
|
4
|
+
version: 2.1.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- celeen
|
|
@@ -13,7 +13,7 @@ authors:
|
|
|
13
13
|
- redneckbeard
|
|
14
14
|
bindir: exe
|
|
15
15
|
cert_chain: []
|
|
16
|
-
date: 2025-
|
|
16
|
+
date: 2025-11-18 00:00:00.000000000 Z
|
|
17
17
|
dependencies:
|
|
18
18
|
- !ruby/object:Gem::Dependency
|
|
19
19
|
name: rake
|