pg 1.4.0 → 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 +9 -1
- data/ext/pg_result.c +2 -2
- data/lib/pg/connection.rb +2 -2
- data/lib/pg/exceptions.rb +1 -1
- data/lib/pg/version.rb +1 -1
- data.tar.gz.sig +0 -0
- metadata +2 -2
- 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,4 +1,12 @@
|
|
1
|
-
== v1.4.
|
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>
|
2
10
|
|
3
11
|
Added:
|
4
12
|
|
data/ext/pg_result.c
CHANGED
@@ -1476,10 +1476,10 @@ pgresult_stream_any(VALUE self, void (*yielder)(VALUE, int, int, void*), void* d
|
|
1476
1476
|
|
1477
1477
|
pgresult = gvl_PQgetResult(pgconn);
|
1478
1478
|
if( pgresult == NULL )
|
1479
|
-
rb_raise( rb_eNoResultError, "no result received - possibly an intersection with another
|
1479
|
+
rb_raise( rb_eNoResultError, "no result received - possibly an intersection with another query");
|
1480
1480
|
|
1481
1481
|
if( nfields != PQnfields(pgresult) )
|
1482
|
-
rb_raise( rb_eInvalidChangeOfResultFields, "number of fields
|
1482
|
+
rb_raise( rb_eInvalidChangeOfResultFields, "number of fields changed in single row mode from %d to %d - this is a sign for intersection with another query", nfields, PQnfields(pgresult));
|
1483
1483
|
|
1484
1484
|
this->pgresult = pgresult;
|
1485
1485
|
}
|
data/lib/pg/connection.rb
CHANGED
@@ -657,8 +657,8 @@ class PG::Connection
|
|
657
657
|
# connection will have its +client_encoding+ set accordingly.
|
658
658
|
#
|
659
659
|
# Raises a PG::Error if the connection fails.
|
660
|
-
def new(*args
|
661
|
-
conn = connect_to_hosts(*args
|
660
|
+
def new(*args)
|
661
|
+
conn = connect_to_hosts(*args)
|
662
662
|
|
663
663
|
if block_given?
|
664
664
|
begin
|
data/lib/pg/exceptions.rb
CHANGED
data/lib/pg/version.rb
CHANGED
data.tar.gz.sig
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pg
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.4.
|
4
|
+
version: 1.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michael Granger
|
@@ -36,7 +36,7 @@ cert_chain:
|
|
36
36
|
oL1mUdzB8KrZL4/WbG5YNX6UTtJbIOu9qEFbBAy4/jtIkJX+dlNoFwd4GXQW1YNO
|
37
37
|
nA==
|
38
38
|
-----END CERTIFICATE-----
|
39
|
-
date: 2022-06-
|
39
|
+
date: 2022-06-24 00:00:00.000000000 Z
|
40
40
|
dependencies: []
|
41
41
|
description: Pg is the Ruby interface to the PostgreSQL RDBMS. It works with PostgreSQL
|
42
42
|
9.3 and later.
|
metadata.gz.sig
CHANGED
Binary file
|