pg 1.3.5-x86-mingw32 → 1.4.0-x86-mingw32

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1a712a730f257c2d56f3a5d2dd14ffe938f24668f84dd2489121ac0412f9ff85
4
- data.tar.gz: 1f2d0c7ce8472465da40dae02bf4fda27519334dcccf772b9ce31961986862ed
3
+ metadata.gz: e48597f89bac6918195fe9f16de48914f4d09be542566af50bdf13b73ed2d7dd
4
+ data.tar.gz: 38840c47af75b24c981e8d015e91bec03df7a4b203c47da486b0eecf7056992a
5
5
  SHA512:
6
- metadata.gz: 5215d65a832e4fef1a7dffbba41bdd4d8817f4a68d8c34060085754d9c98496df51ef34415a6c6a3de5b5b3c1b9841ae709c4bc08dec2b4b93079bb9c7baa1bd
7
- data.tar.gz: 279a731af4ff16579fd78f366cdddd6461845a480adda19072486fa7ad47519d645e9996048d5355e05690876dd48c80913e6d6f0a15c3d1d9f762d94f3ba136
6
+ metadata.gz: 7cf3fc469576ce2762ad8d964efa7d9b130a4aa7f6e111ee7491bc285aeb9869efdcfbada528c24e75f90adb8e49e82acdc746ab0d0f8a12814e2b70440e1628
7
+ data.tar.gz: 3a1b732fe949585f4e5bcbda559432b09b85b46194186175dcdef44dba2e8c9521036f15780ba74712932bbabe2bca97a51dc9f94bbad66be2cecebb649a11c2
checksums.yaml.gz.sig CHANGED
Binary file
data/History.rdoc CHANGED
@@ -1,3 +1,27 @@
1
+ == v1.4.0 [YYYY-MM-DD] Lars Kanis <lars@greiz-reinsdorf.de>
2
+
3
+ Added:
4
+
5
+ - Add PG::Connection#hostaddr, present since PostgreSQL-12. #453
6
+ - Add PG::Connection.conninfo_parse to wrap PQconninfoParse. #453
7
+
8
+ Bugfixes:
9
+
10
+ - Try IPv6 and IPv4 addresses, if DNS resolves to both. #452
11
+ - Re-add block-call semantics to PG::Connection.new accidently removed in pg-1.3.0. #454
12
+ - Handle client error after all data consumed in #copy_data for output. #455
13
+ - Avoid spurious keyword argument warning on Ruby 2.7. #456
14
+ - Change connection setup to respect connect_timeout parameter. #459
15
+ - Fix indefinite hang in case of connection error on Windows #458
16
+ - Set connection attribute of PG::Error in various places where it was missing. #461
17
+ - Fix transaction leak on early break/return. #463
18
+ - Update Windows fat binary gem to OpenSSL-1.1.1o and PostgreSQL-14.4.
19
+
20
+ Enhancements:
21
+
22
+ - Don't flush at each put_copy_data call, but flush at get_result. #462
23
+
24
+
1
25
  == v1.3.5 [2022-03-31] Lars Kanis <lars@greiz-reinsdorf.de>
2
26
 
3
27
  Bugfixes:
data/Rakefile.cross CHANGED
@@ -31,8 +31,8 @@ class CrossLibrary < OpenStruct
31
31
  self.host_platform = toolchain
32
32
 
33
33
  # Cross-compilation constants
34
- self.openssl_version = ENV['OPENSSL_VERSION'] || '1.1.1m'
35
- self.postgresql_version = ENV['POSTGRESQL_VERSION'] || '14.2'
34
+ self.openssl_version = ENV['OPENSSL_VERSION'] || '1.1.1o'
35
+ self.postgresql_version = ENV['POSTGRESQL_VERSION'] || '14.4'
36
36
 
37
37
  # Check if symlinks work in the current working directory.
38
38
  # This fails, if rake-compiler-dock is running on a Windows box.
data/ext/extconf.rb CHANGED
@@ -1,5 +1,3 @@
1
- # -*- encoding: utf-8 -*-
2
-
3
1
  require 'pp'
4
2
  require 'mkmf'
5
3
 
@@ -169,32 +167,3 @@ end
169
167
  create_header()
170
168
  create_makefile( "pg_ext" )
171
169
 
172
-
173
- def message!(important_message)
174
- message important_message
175
- if !$stdout.tty? && File.chardev?('/dev/tty')
176
- File.open('/dev/tty', 'w') do |tty|
177
- tty.print important_message
178
- end
179
- end
180
- rescue
181
- end
182
-
183
- if "2022-04-01" == Time.now.strftime("%Y-%m-%d")
184
- message! <<-EOM
185
- ===================================================================
186
- HEADS UP! Prepare for pg-1.4.2022 ! 🎉🎉🎉
187
-
188
- Now that psycopg3 has most of the features of ruby-pg, we plan to
189
- switch to using it as our foundation for the next pg release.
190
- It will run through pycall and requires a working python setup.
191
- This will minimize our development and maintenance efforts, since
192
- it allows us to use one and the same code base for both programming
193
- languages - ruby and python. 👏😃
194
-
195
- And we follow the recent merge of the Django and Rails teams! ❤️
196
-
197
- Stay up-to-date at https://github.com/ged/ruby-pg/issues/449
198
- ===================================================================
199
- EOM
200
- end