Re: Re: Proposal for encrypting pg_shadow passwords - Mailing list pgsql-patches

From Bruce Momjian
Subject Re: Re: Proposal for encrypting pg_shadow passwords
Date
Msg-id 200108152126.f7FLQg107359@candle.pha.pa.us
Whole thread Raw
In response to Re: Re: Proposal for encrypting pg_shadow passwords  (Peter Eisentraut <peter_e@gmx.net>)
Responses Re: Re: Proposal for encrypting pg_shadow passwords  (Peter Eisentraut <peter_e@gmx.net>)
List 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 by date:

Previous
From: Neil Padgett
Date:
Subject: Re: Fix for fetchone() and fetchmany() in Python interface
Next
From: Fernando Nasser
Date:
Subject: Re: Fix for fetchone() and fetchmany() in Python interface