Re: [HACKERS] Leaking definitions to user programs

2001-01-19 Thread Bruce Momjian
You may find 7.1beta has fixed this. I know some include files were rearranged in 7.1. > Hi Bruce, Hi Michael, > > here is the really short patch for shutting out all postgres definitions > from ecpg > programs. (e.g. Datum, Pointer, DEBUG, ERROR). > Someone really should take a look into libp

Re: [HACKERS] Leaking definitions to user programs

2000-11-03 Thread Christof Petig
Hi Bruce, Hi Michael, here is the really short patch for shutting out all postgres definitions from ecpg programs. (e.g. Datum, Pointer, DEBUG, ERROR). Someone really should take a look into libpq and do the same. But I had to copy a small part of c.h (bool,true,false,TRUE,FALSE) into ecpg/includ