Re: Re: Proposal for encrypting pg_shadow passwords

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: Re: Proposal for encrypting pg_shadow passwords
Дата
Msg-id 200108152126.f7FLQg107359@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: Re: Proposal for encrypting pg_shadow passwords  (Peter Eisentraut <peter_e@gmx.net>)
Ответы Re: Re: Proposal for encrypting pg_shadow passwords
Список pgsql-patches
> Bruce Momjian writes:
>
> > > Hmm... I used to be able to build in a separate tree than my source
> > > tree. Since this patch was applied, I can't. It seems that the
> > > preprocessor is finding the system md5.h (i.e. /usr/include/md5.h)
> > > rather than the PostgreSQL md5.h. Suggestions on how to fix?
>
> I kind of doubt that, since the new code does #include "libpq/md5.h".
>
> > Ewe, you have md5.h somewhere else.  Let me rename it to pgmd5.h.  Is
> > that OK for everyone?  Or maybe I should move it all into crypt.h.  That
> > seems to make more sense.
>
> No, the problem is that you are not supposed to have include files in the
> backend subtree.  I'm surprised the code builds at all.

Oh, yes, I had moved md5.h to libpq because I needed md5.c.  I should
have just pointed to libpq/md5.h.  Anyway, it is better in crypt.h
anyway.

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

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

Предыдущее
От: Neil Padgett
Дата:
Сообщение: Re: Fix for fetchone() and fetchmany() in Python interface
Следующее
От: Fernando Nasser
Дата:
Сообщение: Re: Fix for fetchone() and fetchmany() in Python interface