Re: [HACKERS] psql compile problems - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: [HACKERS] psql compile problems
Date
Msg-id 200002161308.IAA15614@candle.pha.pa.us
Whole thread Raw
In response to psql compile problems  (Michael Meskes <meskes@postgresql.org>)
Responses Re: [HACKERS] psql compile problems
List pgsql-hackers
> I just looked into the code and found that the file pgsql/common.c includes
> interfaces/libpq/c.h instead of include/c.h. I changed the CFLAGS setting in
> the Makefile to append -I$(LIBPQDIR) instead of insert it and it compiles
> fine.
> 
> BTW the file common.c includes c.h twice, directly and via common.h.

I have cleaned up include file use in psql.  It now uses the standard
postgres.h includes and does not use redundant includes as much.

--  Bruce Momjian                        |  http://www.op.net/~candle 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,
Pennsylvania19026
 


pgsql-hackers by date:

Previous
From: Karel Zak - Zakkr
Date:
Subject: TODO: Cache most recent query plan
Next
From: Chris
Date:
Subject: Re: [HACKERS] TODO: Cache most recent query plan