pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Stephen Frost <sfrost@snowman.net>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: brahmbhattkinjal18@gmail.com
Cc: pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #16320: GSSAPI Error
Date: Fri, 27 Mar 2020 17:08:09 -0400
Message-ID: <20200327210809.GK13712@tamriel.snowman.net> (raw)
In-Reply-To: <23962.1585341372@sss.pgh.pa.us>
References: <16320-912ad260120988a2@postgresql.org>
	<20200327163051.GE13712@tamriel.snowman.net>
	<20458.1585336517@sss.pgh.pa.us>
	<20200327195705.GH13712@tamriel.snowman.net>
	<23962.1585341372@sss.pgh.pa.us>

Greetings,

* Tom Lane (tgl@sss.pgh.pa.us) wrote:
> 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.

Sounds good to me.

Thanks,

Stephen

Attachments:

  signature.asc (application/pgp-signature, 818B) download

view thread (7+ messages)

Message-ID: <20200327210809.GK13712@tamriel.snowman.net>
Permalink:  ../20200327210809.GK13712@tamriel.snowman.net/
Also on:    postgresql.org/message-id/20200327210809.GK13712@tamriel.snowman.net

 · 

reply

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: sfrost@snowman.net, tgl@sss.pgh.pa.us, brahmbhattkinjal18@gmail.com, pgsql-bugs@lists.postgresql.org
  Subject: Re: BUG #16320: GSSAPI Error
  In-Reply-To: <20200327210809.GK13712@tamriel.snowman.net>

* 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