public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Conrad Kostecki" <conikost@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/pg/files/
Date: Thu, 15 Apr 2021 18:05:50 +0000 (UTC)	[thread overview]
Message-ID: <1618509925.827af756901a72b81c8ba0f076711e6d94124089.conikost@gentoo> (raw)

commit:     827af756901a72b81c8ba0f076711e6d94124089
Author:     Michael Mair-Keimberger <mmk <AT> levelnine <DOT> at>
AuthorDate: Sun Apr 11 08:23:07 2021 +0000
Commit:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Thu Apr 15 18:05:25 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=827af756

dev-ruby/pg: remove unused patch(es)

Closes: https://github.com/gentoo/gentoo/pull/20331
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Michael Mair-Keimberger <mmk <AT> levelnine.at>
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>

 dev-ruby/pg/files/postgresql10-tests.patch | 49 ------------------------------
 1 file changed, 49 deletions(-)

diff --git a/dev-ruby/pg/files/postgresql10-tests.patch b/dev-ruby/pg/files/postgresql10-tests.patch
deleted file mode 100644
index f9b7c1579a9..00000000000
--- a/dev-ruby/pg/files/postgresql10-tests.patch
+++ /dev/null
@@ -1,49 +0,0 @@
-# HG changeset patch
-# User Lars Kanis <kanis@comcard.de>
-# Date 1508756565 -7200
-# Node ID fe63160e8a9803e257231d879fab2841ba44c37a
-# Parent  d6d5533dfca85b618232fe3e9e56e59dbee99de6
-Adjust tests for PostgreSQL-10
-
-diff --git a/spec/helpers.rb b/spec/helpers.rb
---- a/spec/helpers.rb
-+++ b/spec/helpers.rb
-@@ -251,7 +251,7 @@
- 
- 	def check_for_lingering_connections( conn )
- 		conn.exec( "SELECT * FROM pg_stat_activity" ) do |res|
--			conns = res.find_all {|row| row['pid'].to_i != conn.backend_pid }
-+			conns = res.find_all {|row| row['pid'].to_i != conn.backend_pid && ["client backend", nil].include?(row["backend_type"]) }
- 			unless conns.empty?
- 				puts "Lingering connections remain:"
- 				conns.each do |row|
-diff --git a/spec/pg/connection_spec.rb b/spec/pg/connection_spec.rb
---- a/spec/pg/connection_spec.rb
-+++ b/spec/pg/connection_spec.rb
-@@ -232,7 +232,7 @@
- 		described_class.connect(@conninfo).finish
- 		sleep 0.5
- 		res = @conn.exec(%[SELECT COUNT(*) AS n FROM pg_stat_activity
--							WHERE usename IS NOT NULL])
-+							WHERE usename IS NOT NULL AND application_name != ''])
- 		# there's still the global @conn, but should be no more
- 		expect( res[0]['n'] ).to eq( '1' )
- 	end
-@@ -1537,9 +1537,14 @@
- 		end
- 
- 		it "shouldn't type map params unless requested" do
--			expect{
--				@conn.exec_params( "SELECT $1", [5] )
--			}.to raise_error(PG::IndeterminateDatatype)
-+			if @conn.server_version < 100000
-+				expect{
-+					@conn.exec_params( "SELECT $1", [5] )
-+				}.to raise_error(PG::IndeterminateDatatype)
-+			else
-+				# PostgreSQL-10 maps to TEXT type (OID 25)
-+				expect( @conn.exec_params( "SELECT $1", [5] ).ftype(0)).to eq(25)
-+			end
- 		end
- 
- 		it "should raise an error on invalid encoder to put_copy_data" do


                 reply	other threads:[~2021-04-15 18:05 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1618509925.827af756901a72b81c8ba0f076711e6d94124089.conikost@gentoo \
    --to=conikost@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox