pg 1.3.3-x64-mingw32 → 1.4.0-x64-mingw32
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 +59 -0
- data/Rakefile.cross +2 -2
- data/ext/errorcodes.rb +0 -0
- data/ext/extconf.rb +0 -0
- data/ext/pg.h +1 -0
- data/ext/pg_connection.c +223 -203
- data/ext/pg_record_coder.c +6 -4
- data/ext/pg_result.c +16 -9
- data/ext/pg_tuple.c +2 -8
- data/lib/2.5/pg_ext.so +0 -0
- data/lib/2.6/pg_ext.so +0 -0
- data/lib/2.7/pg_ext.so +0 -0
- data/lib/3.0/pg_ext.so +0 -0
- data/lib/pg/basic_type_registry.rb +8 -3
- data/lib/pg/connection.rb +176 -119
- data/lib/pg/exceptions.rb +7 -1
- data/lib/pg/version.rb +1 -1
- data/lib/pg.rb +4 -4
- data/lib/x64-mingw32/libpq.dll +0 -0
- data/misc/openssl-pg-segfault.rb +0 -0
- data/sample/array_insert.rb +0 -0
- data/sample/async_api.rb +3 -7
- data/sample/async_copyto.rb +0 -0
- data/sample/async_mixed.rb +0 -0
- data/sample/check_conn.rb +0 -0
- data/sample/copydata.rb +0 -0
- data/sample/copyfrom.rb +0 -0
- data/sample/copyto.rb +0 -0
- data/sample/cursor.rb +0 -0
- data/sample/disk_usage_report.rb +0 -0
- data/sample/issue-119.rb +0 -0
- data/sample/losample.rb +0 -0
- data/sample/minimal-testcase.rb +0 -0
- data/sample/notify_wait.rb +0 -0
- data/sample/pg_statistics.rb +0 -0
- data/sample/replication_monitor.rb +0 -0
- data/sample/test_binary_values.rb +0 -0
- data/sample/wal_shipper.rb +0 -0
- data/sample/warehouse_partitions.rb +0 -0
- 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: 83b37ca50e2504612bd3949dc5a8f4a09561282652ded110e7c0a83056a4209d
|
4
|
+
data.tar.gz: 02f1b2fd8686b454964d742b9b23d392726866c7f3b569aa8cb06d3a8b044d84
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f3d288d0865f663ce3433c4cb516c2f60162f2485b7f2f97cf9435c2cf3a46bb45cf4e1d52af89291d1c6f2340f1780d1074e97add4d78dc8d072c984cfbfc22
|
7
|
+
data.tar.gz: c25f6b288d8132619438a596b0046457a7cdcedc27710b0d3c4e1830639e5925687a38f51d4848c25b057d1cca97cf621022750c4057046295e9de1c1f3910a5
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/History.rdoc
CHANGED
@@ -1,3 +1,62 @@
|
|
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
|
+
|
25
|
+
== v1.3.5 [2022-03-31] Lars Kanis <lars@greiz-reinsdorf.de>
|
26
|
+
|
27
|
+
Bugfixes:
|
28
|
+
|
29
|
+
- Handle PGRES_COMMAND_OK in pgresult_stream_any. #447
|
30
|
+
Fixes usage when trying to stream the result of a procedure call that returns no results.
|
31
|
+
|
32
|
+
Enhancements:
|
33
|
+
|
34
|
+
- Rename BasicTypeRegistry#define_default_types to #register_default_types to use a more consistent terminology.
|
35
|
+
Keeping define_default_types for compatibility.
|
36
|
+
- BasicTypeRegistry: return self instead of objects by accident.
|
37
|
+
This allows call chaining.
|
38
|
+
- Add some April fun. #449
|
39
|
+
|
40
|
+
Documentation:
|
41
|
+
- Refine documentation of conn.socket_io and conn.connect_poll
|
42
|
+
|
43
|
+
|
44
|
+
== v1.3.4 [2022-03-10] Lars Kanis <lars@greiz-reinsdorf.de>
|
45
|
+
|
46
|
+
Bugfixes:
|
47
|
+
|
48
|
+
- Don't leak IO in case of connection errors. #439
|
49
|
+
Previously it was kept open until the PG::Connection was garbage collected.
|
50
|
+
- Fix a performance regession in conn.get_result noticed in single row mode. #442
|
51
|
+
- Fix occasional error Errno::EBADF (Bad file descriptor) while connecting. #444
|
52
|
+
- Fix compatibility of res.stream_each* methods with Fiber.scheduler. #446
|
53
|
+
- Remove FL_TEST and FL_SET, which are MRI-internal. #437
|
54
|
+
|
55
|
+
Enhancements:
|
56
|
+
|
57
|
+
- Allow pgresult_stream_any to be used by sequel_pg. #443
|
58
|
+
|
59
|
+
|
1
60
|
== v1.3.3 [2022-02-22] Lars Kanis <lars@greiz-reinsdorf.de>
|
2
61
|
|
3
62
|
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.
|
data/ext/errorcodes.rb
CHANGED
File without changes
|
data/ext/extconf.rb
CHANGED
File without changes
|
data/ext/pg.h
CHANGED
@@ -344,6 +344,7 @@ void pg_typemap_compact _(( void * ));
|
|
344
344
|
|
345
345
|
PGconn *pg_get_pgconn _(( VALUE ));
|
346
346
|
t_pg_connection *pg_get_connection _(( VALUE ));
|
347
|
+
VALUE pgconn_block _(( int, VALUE *, VALUE ));
|
347
348
|
|
348
349
|
VALUE pg_new_result _(( PGresult *, VALUE ));
|
349
350
|
VALUE pg_new_result_autoclear _(( PGresult *, VALUE ));
|