Re: Kerberos authentication, Active Directory, and PostgreSQL

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: Kerberos authentication, Active Directory, and PostgreSQL
Дата
Msg-id 200910131420.n9DEKnd16251@momjian.us
обсуждение исходный текст
Ответ на Re: Kerberos authentication, Active Directory, and PostgreSQL  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-bugs
Peter Eisentraut wrote:
> On Mon, 2009-10-12 at 20:42 -0400, Turner, Ian wrote:
> > --- postgresql-8.4-8.4.1/src/backend/libpq/auth.c       2009-06-25 12:30:08.000000000 +0100
> > +++ postgresql-8.4-8.4.1-fixed/src/backend/libpq/auth.c 2009-09-15 20:27:01.000000000 +0100
> > @@ -166,6 +166,8 @@
> >  #endif
> >
> >  static int     pg_GSS_recvauth(Port *port);
> > +
> > +#define GSS_MAX_TOKEN_LENGTH (32767)
> >  #endif   /* ENABLE_GSS */
> >
> >
>
> A small wish in case we go with this: The constant should be named
> something like PG_...; otherwise it looks like we are defining or
> overriding an official symbol from the GSS API.

Agreed.  In my first glance at the patch I thought GSS_MAX_TOKEN_LENGTH
was defined in a system include file.

--
  Bruce Momjian  <bruce@momjian.us>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

  + If your life is a hard drive, Christ can be your backup. +

В списке pgsql-bugs по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Kerberos authentication, Active Directory, and PostgreSQL
Следующее
От: "Yury Don"
Дата:
Сообщение: BUG #5112: Segmentation fault on ts_stat with empty words