Re: Mostly Harmless: Welcoming our C++ friends

From: David Lee Lambert <davidl(at)lmert(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Mostly Harmless: Welcoming our C++ friends
Date: 2008-12-06 01:15:00
Message-ID: 200812052015.02820.davidl@lmert.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Friday 05 December 2008 10:45, Kurt Harriman wrote:
> Tom Lane wrote:
> > Kurt Harriman <harriman(at)acm(dot)org> writes:
> >> [ make the backend C++-compilable ]

I tested applying this patch to CVS HEAD today and compiling
with --enable-cplusplus with gcc 4.2:

$ ldd postmaster
...
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb7bf9000)
...

Then I ran pgbench and played with a table with a UUID column. Performance
was great.

(I first mistakenly applied it against a not-up-to-date source-tree ---
something from mid-September --- and that ended up not compiling.)

I still have not tried this with my own C++ code, but it seems to have less
impact on the build process than some might have feared.

--
David Lee Lambert ... Software Developer
Cell phone: +1 586-873-8813 ; alt. email <dlambert(at)bmtcarhaul(dot)com> or
<lamber45(at)msu(dot)edu>
GPG key at http://www.lmert.com/keyring.txt

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Andrew Gierth 2008-12-06 01:50:43 Hint bits vs. OS readahead
Previous Message Joshua D. Drake 2008-12-05 22:46:08 Re: Simple postgresql.conf wizard