Re: Patches for libpq++ - Mailing list pgsql-interfaces

From Bruce Momjian
Subject Re: Patches for libpq++
Date
Msg-id 200102211853.NAA28140@candle.pha.pa.us
Whole thread Raw
In response to Patches for libpq++  ("J. T. Vermeulen" <jtv@cistron-office.nl>)
Responses Re: Patches for libpq++  ("J. T. Vermeulen" <jtv@cistron-office.nl>)
tutorial section  (Lonnie Cumberland <lonnie_cumberland@yahoo.com>)
List pgsql-interfaces
> I'd like to suggest the following changes to bring libpq++ a bit more up to
> date:
> 
>  - fixes include path in Makefile
>  - makes some member functions const
>  - flags (but does not fix) what looks like a memory leak and a warning
>  - changes int return type on ConnectionBad() to bool
> 
> 
> diff -u -r postgresql-7.0.3/src/interfaces/libpq++/examples/Makefile
postgresql-7.0.3-jtv/src/interfaces/libpq++/examples/Makefile
> --- postgresql-7.0.3/src/interfaces/libpq++/examples/Makefile    Thu Mar  2 03:00:59 2000
> +++ postgresql-7.0.3-jtv/src/interfaces/libpq++/examples/Makefile    Wed Feb 21 16:16:14 2001
> @@ -4,7 +4,8 @@
>  
>  
>  LIBNAME= libpq++
> -HEADERDIR= /usr/local/pgsql/include
> +#HEADERDIR= /usr/local/pgsql/include
> +HEADERDIR=/usr/include/postgresql
>  LIBPQDIR= /usr/local/pgsql/lib

This change will not be made.  The source install is
/usr/local/pgsql/include.  RPM's may install in /usr/include/postgresql,
but we don't make such changes on our end of that.

--  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,
Pennsylvania19026
 


pgsql-interfaces by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Patches for libpq++
Next
From: Tom Lane
Date:
Subject: Re: FOR UPDATE is not allowed in this context