Re: [HACKERS] segfault caused by heimdal (was: SUSE port) - Mailing list pgsql-patches

From Tom Lane
Subject Re: [HACKERS] segfault caused by heimdal (was: SUSE port)
Date
Msg-id 684.1105559982@sss.pgh.pa.us
Whole thread Raw
In response to Re: [HACKERS] segfault caused by heimdal (was: SUSE port)  (Reinhard Max <max@suse.de>)
Responses Re: [HACKERS] segfault caused by heimdal (was: SUSE port)  (Reinhard Max <max@suse.de>)
List pgsql-patches
Reinhard Max <max@suse.de> writes:
> --- src/interfaces/libpq/fe-auth.c
> +++ src/interfaces/libpq/fe-auth.c
> @@ -244,6 +244,11 @@
>
>  #include <krb5.h>
>
> +#if !defined(__COM_ERR_H) && !defined(__COM_ERR_H__)
> +/* if krb5.h didn't include it already */
> +#include <com_err.h>
> +#endif
> +
>  /*
>   * pg_an_to_ln -- return the local name corresponding to an authentication
>   *                  name

That looks like a reasonable fix, but isn't it needed in
backend/libpq/auth.c as well?

            regards, tom lane

pgsql-patches by date:

Previous
From: Reinhard Max
Date:
Subject: Re: [HACKERS] segfault caused by heimdal (was: SUSE port)
Next
From: Reinhard Max
Date:
Subject: Re: [HACKERS] segfault caused by heimdal (was: SUSE port)