From: Tom Lane <tgl@sss.pgh.pa.us>
To: Stephen Frost <sfrost@snowman.net>
Cc: brahmbhattkinjal18@gmail.com
Cc: pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #16320: GSSAPI Error
Date: Fri, 27 Mar 2020 16:36:12 -0400
Message-ID: <23962.1585341372@sss.pgh.pa.us> (raw)
In-Reply-To: <20200327195705.GH13712@tamriel.snowman.net>
References: <16320-912ad260120988a2@postgresql.org>
<20200327163051.GE13712@tamriel.snowman.net>
<20458.1585336517@sss.pgh.pa.us>
<20200327195705.GH13712@tamriel.snowman.net>
Stephen Frost <sfrost@snowman.net> writes:
> * Tom Lane (tgl@sss.pgh.pa.us) wrote:
>> Should we document somewhere that we consider that unsupported?
>> Trying it here, I see a bunch of "deprecation" warnings during
>> the build, but it does build --- which might lead people to expect
>> that it'd work.
> There had been discussion on another thread about trying to figure out a
> way to detect the OSX GSSAPI library and refuse to build with GSSAPI
> support when that's what we'd be building against. I didn't see anyone
> post a patch though and I haven't got an OSX box to play with myself
> easily at hand.
Just poking around, it looks like something along this line would work:
#ifdef GSSKRB_APPLE_DEPRECATED
#error "Postgres doesn't work with the macOS GSSAPI library, please use XXX instead."
#endif
(in any suitable spot after #including gssapi.h)
Now, this is testing the *headers* not the actual *library*, which in
some sense is not the right thing. But it's probably close enough for
the purpose.
regards, tom lane
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-bugs@postgresql.org
Cc: tgl@sss.pgh.pa.us, sfrost@snowman.net, brahmbhattkinjal18@gmail.com, pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #16320: GSSAPI Error
In-Reply-To: <23962.1585341372@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox