pg 1.3.4 → 1.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data/History.rdoc +51 -0
- data/Rakefile.cross +2 -2
- data/ext/pg_connection.c +218 -187
- data/ext/pg_record_coder.c +6 -4
- data/ext/pg_result.c +3 -2
- data/lib/pg/basic_type_registry.rb +8 -3
- data/lib/pg/connection.rb +174 -118
- data/lib/pg/exceptions.rb +7 -1
- data/lib/pg/version.rb +1 -1
- data/lib/pg.rb +4 -4
- data.tar.gz.sig +0 -0
- metadata +3 -3
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a5aece061d9d89ecf67827b8bdd6db7ea023df6ef00cca23555d9ee8b0e0102d
|
4
|
+
data.tar.gz: de1b7e0bcdae378c3ccebb1513945f67e95c5f0a36cf7e809cdd30aeeb6c6316
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b86daa15aa2ad933127de6876b47d6c68bc0be82014a8c6912c0b95c7dd801be53f1ddab69d1488a12e059323eddb83dd6d40ea74fde19ccbd68fe9830cca130
|
7
|
+
data.tar.gz: b2fd717ed50bf0886e5daf37eef5e689b8f6170906ab1d8b372f430285c61d03f47a11da783d9ba18592ae8de0f70bc22ec97a274f6b2cf9dde15b7aaceb8727
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/History.rdoc
CHANGED
@@ -1,3 +1,54 @@
|
|
1
|
+
== v1.4.1 [2022-06-24] Lars Kanis <lars@greiz-reinsdorf.de>
|
2
|
+
|
3
|
+
Bugfixes:
|
4
|
+
|
5
|
+
- Fix another ruby-2.7 keyword warning. #465
|
6
|
+
- Allow PG::Error to be created without arguments. #466
|
7
|
+
|
8
|
+
|
9
|
+
== v1.4.0 [2022-06-20] Lars Kanis <lars@greiz-reinsdorf.de>
|
10
|
+
|
11
|
+
Added:
|
12
|
+
|
13
|
+
- Add PG::Connection#hostaddr, present since PostgreSQL-12. #453
|
14
|
+
- Add PG::Connection.conninfo_parse to wrap PQconninfoParse. #453
|
15
|
+
|
16
|
+
Bugfixes:
|
17
|
+
|
18
|
+
- Try IPv6 and IPv4 addresses, if DNS resolves to both. #452
|
19
|
+
- Re-add block-call semantics to PG::Connection.new accidently removed in pg-1.3.0. #454
|
20
|
+
- Handle client error after all data consumed in #copy_data for output. #455
|
21
|
+
- Avoid spurious keyword argument warning on Ruby 2.7. #456
|
22
|
+
- Change connection setup to respect connect_timeout parameter. #459
|
23
|
+
- Fix indefinite hang in case of connection error on Windows #458
|
24
|
+
- Set connection attribute of PG::Error in various places where it was missing. #461
|
25
|
+
- Fix transaction leak on early break/return. #463
|
26
|
+
- Update Windows fat binary gem to OpenSSL-1.1.1o and PostgreSQL-14.4.
|
27
|
+
|
28
|
+
Enhancements:
|
29
|
+
|
30
|
+
- Don't flush at each put_copy_data call, but flush at get_result. #462
|
31
|
+
|
32
|
+
|
33
|
+
== v1.3.5 [2022-03-31] Lars Kanis <lars@greiz-reinsdorf.de>
|
34
|
+
|
35
|
+
Bugfixes:
|
36
|
+
|
37
|
+
- Handle PGRES_COMMAND_OK in pgresult_stream_any. #447
|
38
|
+
Fixes usage when trying to stream the result of a procedure call that returns no results.
|
39
|
+
|
40
|
+
Enhancements:
|
41
|
+
|
42
|
+
- Rename BasicTypeRegistry#define_default_types to #register_default_types to use a more consistent terminology.
|
43
|
+
Keeping define_default_types for compatibility.
|
44
|
+
- BasicTypeRegistry: return self instead of objects by accident.
|
45
|
+
This allows call chaining.
|
46
|
+
- Add some April fun. #449
|
47
|
+
|
48
|
+
Documentation:
|
49
|
+
- Refine documentation of conn.socket_io and conn.connect_poll
|
50
|
+
|
51
|
+
|
1
52
|
== v1.3.4 [2022-03-10] Lars Kanis <lars@greiz-reinsdorf.de>
|
2
53
|
|
3
54
|
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.
|
35
|
-
self.postgresql_version = ENV['POSTGRESQL_VERSION'] || '14.
|
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.
|