Re: C++ Headers
Bruce Momjian <pgman@candle.pha.pa.us>
From: Bruce Momjian <pgman@candle.pha.pa.us>
To: Christof Petig <christof@petig-baender.de>
Cc: Tom Lane <tgl@sss.pgh.pa.us>, mscott@sacadia.com, Hackers List <pgsql-hackers@postgresql.org>
Date: 2001-05-22T04:19:41Z
Lists: pgsql-hackers
> This in fact has happened within ECPG. But since sizeof(bool) is passed to > libecpg it was possible to figure out which 'bool' is requested. > > Another issue of C++ compatibility would be cleaning up the usage of > 'const' declarations. C++ is really strict about 'const'ness. But I don't > know whether postgres' internal headers would need such a cleanup. (I > suspect that in ecpg there is an oddity left with respect to host variable > declaration. I'll check that later) We have added more const-ness to libpq++ for 7.2. -- 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