Re: libpq crashing on macOS during connection startup

From: John DeSoi <john(at)desoi(dot)dev>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Joe Conway <mail(at)joeconway(dot)com>, Postgres General <pgsql-general(at)postgresql(dot)org>
Subject: Re: libpq crashing on macOS during connection startup
Date: 2023-12-01 14:13:20
Message-ID: 0100018c25ba1137-7735f30f-0938-458b-992b-60369d534db0-000000@email.amazonses.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


> On Nov 30, 2023, at 7:53 PM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
>
> gssencmode=disable in your connection options; but that's a tad
> inconvenient probably.

Yes, the application uses PHP PDO to connect to PostgreSQL. I don't see any way to specify that in the connection options.

> Ugh, not only Heimdal but a very obsolete version thereof? It borders
> on negligence for the homebrew PG package to be building against that.
> They should be pulling in homebrew's MIT Kerberos package and using
> that, if they want to enable GSSAPI.

I was looking at the homebrew source for PostgreSQL package to see if there was a way to customize the build options. I did not find one but saw the comment below. Apparently this is a known issue and it was suggested to use the MIT Kerberos package 4 years ago. Instead they just added this comment in 2020.

# GSSAPI provided by Kerberos.framework crashes when forked.
# See https://github.com/Homebrew/homebrew-core/issues/47494.

John DeSoi, Ph.D.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Ron Johnson 2023-12-01 15:04:16 Re: Query related to pg_dump write to a pipe on a windows client and with compressed format
Previous Message Daniel Verite 2023-12-01 11:52:01 Re: Feature request for INITCAP() function