pg_online_schema_change 0.7.3 → 0.7.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/Gemfile.lock +23 -23
- data/lib/pg_online_schema_change/query.rb +1 -1
- data/lib/pg_online_schema_change/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2a765e9fe8c466b43b05b45401a6f0bbfc1d6ec3825dbc030308e1c7701ee436
|
4
|
+
data.tar.gz: 5cb07a199e35f6fe1ad2dfb3cad11dded9f6e4b519af2d67a08fad850fdd715d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a39814cfedba956f26f083a5fbbeeeced80818b6273656761e146d244e245627033ffbf48c5b69dc1a5bb4d5c9e3c9e01f10ec9ddbf95a7da9b8e36af60ada6d
|
7
|
+
data.tar.gz: 87e06bd100570d1a18e11ec279894a7a417713237ee4134bace9fc5f62acbffd35d31e668b3b88c5031841d816a9eb8fe30faa546baae5e3027f432bb6567ecc
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,11 @@
|
|
1
1
|
|
2
|
+
## [0.7.3] - 2022-09-24
|
3
|
+
* Update primary key sequence on shadow table https://github.com/shayonj/pg-osc/pull/72
|
4
|
+
- Thanks to @brycethornton for the report
|
5
|
+
* Only refresh primary key when a sequence is attached https://github.com/shayonj/pg-osc/pull/73
|
6
|
+
|
2
7
|
## [0.7.2] - 2022-09-17
|
8
|
+
**NOTE: Skip to 0.7.3. 0.7.2 release missed the change.**
|
3
9
|
* Update primary key sequence on shadow table https://github.com/shayonj/pg-osc/pull/72
|
4
10
|
- Thanks to @brycethornton for the report
|
5
11
|
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
pg_online_schema_change (0.7.
|
4
|
+
pg_online_schema_change (0.7.4)
|
5
5
|
ougai (~> 2.0.0)
|
6
6
|
pg (~> 1.3.2)
|
7
7
|
pg_query (~> 2.1.3)
|
@@ -13,37 +13,37 @@ GEM
|
|
13
13
|
ast (2.4.2)
|
14
14
|
coderay (1.1.3)
|
15
15
|
diff-lcs (1.5.0)
|
16
|
-
google-protobuf (3.
|
16
|
+
google-protobuf (3.21.6)
|
17
17
|
method_source (1.0.0)
|
18
|
-
oj (3.13.
|
18
|
+
oj (3.13.21)
|
19
19
|
ougai (2.0.0)
|
20
20
|
oj (~> 3.10)
|
21
|
-
parallel (1.
|
22
|
-
parser (3.
|
21
|
+
parallel (1.22.1)
|
22
|
+
parser (3.1.2.1)
|
23
23
|
ast (~> 2.4.1)
|
24
|
-
pg (1.3.
|
25
|
-
pg_query (2.1.
|
24
|
+
pg (1.3.5)
|
25
|
+
pg_query (2.1.4)
|
26
26
|
google-protobuf (>= 3.19.2)
|
27
27
|
pry (0.14.1)
|
28
28
|
coderay (~> 1.1)
|
29
29
|
method_source (~> 1.0)
|
30
|
-
rainbow (3.
|
30
|
+
rainbow (3.1.1)
|
31
31
|
rake (13.0.6)
|
32
|
-
regexp_parser (2.
|
32
|
+
regexp_parser (2.5.0)
|
33
33
|
rexml (3.2.5)
|
34
|
-
rspec (3.
|
35
|
-
rspec-core (~> 3.
|
36
|
-
rspec-expectations (~> 3.
|
37
|
-
rspec-mocks (~> 3.
|
38
|
-
rspec-core (3.
|
39
|
-
rspec-support (~> 3.
|
40
|
-
rspec-expectations (3.
|
34
|
+
rspec (3.11.0)
|
35
|
+
rspec-core (~> 3.11.0)
|
36
|
+
rspec-expectations (~> 3.11.0)
|
37
|
+
rspec-mocks (~> 3.11.0)
|
38
|
+
rspec-core (3.11.0)
|
39
|
+
rspec-support (~> 3.11.0)
|
40
|
+
rspec-expectations (3.11.1)
|
41
41
|
diff-lcs (>= 1.2.0, < 2.0)
|
42
|
-
rspec-support (~> 3.
|
43
|
-
rspec-mocks (3.
|
42
|
+
rspec-support (~> 3.11.0)
|
43
|
+
rspec-mocks (3.11.1)
|
44
44
|
diff-lcs (>= 1.2.0, < 2.0)
|
45
|
-
rspec-support (~> 3.
|
46
|
-
rspec-support (3.
|
45
|
+
rspec-support (~> 3.11.0)
|
46
|
+
rspec-support (3.11.1)
|
47
47
|
rubocop (1.23.0)
|
48
48
|
parallel (~> 1.10)
|
49
49
|
parser (>= 3.0.0.0)
|
@@ -53,8 +53,8 @@ GEM
|
|
53
53
|
rubocop-ast (>= 1.12.0, < 2.0)
|
54
54
|
ruby-progressbar (~> 1.7)
|
55
55
|
unicode-display_width (>= 1.4.0, < 3.0)
|
56
|
-
rubocop-ast (1.
|
57
|
-
parser (>= 3.
|
56
|
+
rubocop-ast (1.21.0)
|
57
|
+
parser (>= 3.1.1.0)
|
58
58
|
rubocop-packaging (0.5.1)
|
59
59
|
rubocop (>= 0.89, < 2.0)
|
60
60
|
rubocop-performance (1.12.0)
|
@@ -66,7 +66,7 @@ GEM
|
|
66
66
|
rubocop (~> 1.19)
|
67
67
|
ruby-progressbar (1.11.0)
|
68
68
|
thor (1.2.1)
|
69
|
-
unicode-display_width (2.
|
69
|
+
unicode-display_width (2.3.0)
|
70
70
|
|
71
71
|
PLATFORMS
|
72
72
|
arm64-darwin-20
|
@@ -338,7 +338,7 @@ module PgOnlineSchemaChange
|
|
338
338
|
return "" if sequence_name.nil?
|
339
339
|
|
340
340
|
<<~SQL
|
341
|
-
SELECT setval((select pg_get_serial_sequence(\'#{shadow_table}\', \'#{primary_key}\')), (SELECT max(#{primary_key}) FROM #{table})
|
341
|
+
SELECT setval((select pg_get_serial_sequence(\'#{shadow_table}\', \'#{primary_key}\')), (SELECT max(#{primary_key}) FROM #{table}));
|
342
342
|
SQL
|
343
343
|
end
|
344
344
|
end
|