Re: 12.1 not useable: clientlib fails after a dozen queries (GSSAPI ?)

From: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
To: Peter <pmc(at)citylink(dot)dinoex(dot)sub(dot)org>, pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: 12.1 not useable: clientlib fails after a dozen queries (GSSAPI ?)
Date: 2020-01-09 18:47:00
Message-ID: 95eb0014-6099-24ef-fac3-2b0d3454d5f6@aklaver.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

On 1/9/20 10:18 AM, Peter wrote:
> Hi folks,
>
> with 12.1, after a couple of queries, at a random place, the clientlib
> does produce a failed query without giving reason or error-message [1].
> Then when retrying, the clientlib switches off signal handling and
> sits inactive in memory (needs kill -9).
>
> The server log shows no error or other hint.
> The behaviour happens rarely with trust access, and almost always when
> using Kerberos5 (Heimdal as included in FreeBSD).
>
> 11.5 clientlib has none of this behaviour and seems to work fine, like
> 10.10 did.

Might want to take at below:

https://github.com/ged/ruby-pg/issues/311

>
> Environment:
> OS FreeBSD 11.3
> Applic. Ruby-on-Rails, ruby=2.5.7, gem 'pg'=1.2.2
> (it makes no difference if that one is compiled with
> the 12.1 or the 10.10 library)
> Server 12.1
>
> [1] the message from ruby is
> PG::ConnectionBad: PQconsumeInput() : <query>
>
> rgds,
> PMc
>
>

--
Adrian Klaver
adrian(dot)klaver(at)aklaver(dot)com

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Stephen Frost 2020-01-09 18:47:47 Re: How can I pushdown of functions used in targetlist with FDW ?
Previous Message Peter 2020-01-09 18:18:22 12.1 not useable: clientlib fails after a dozen queries (GSSAPI ?)

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2020-01-09 18:48:01 Re: 12.1 not useable: clientlib fails after a dozen queries (GSSAPI ?)
Previous Message Tom Lane 2020-01-09 18:35:07 Re: Removing pg_pltemplate and creating "trustable" extensions