Re: [HACKERS] PATCH for pgconnection.h

From: "Patrick Welche" <prlw1(at)newn(dot)cam(dot)ac(dot)uk>
To: maillist(at)candle(dot)pha(dot)pa(dot)us (Bruce Momjian)
Cc: vev(at)michvhf(dot)com, hackers(at)postgresql(dot)org, bpm(at)ec-group(dot)com
Subject: Re: [HACKERS] PATCH for pgconnection.h
Date: 1999-07-08 09:31:11
Message-ID: E112AWN-0000NT-00@quartz.newn.cam.ac.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Bruce Momjian wrote:
>
> >
> > On 08-Jul-99 Bruce Momjian wrote:
> > >
> > > This is the second mention of 'namespace' I have seen. Can we allow
> > > this by default?
> > >
> > > Of course, I get:
> > >
> > > pgconnection.h:26: warning: namespaces are mostly broken in this version of g++
> > >
> > > but it still works. Comments?
> >
> > Um.. No? Are you also using SWC 5.0? And if it's g++, do we have a version
> > besides Sun's? Sorry, I'm not familiar with Sun stuff.
> >
> > Vince.
>
> I am using g++ in gcc 2.7.1.

Remember way back when when I had a

#include <something>

and it caused problems for some people who really needed

#include <something.h>

Now I think (but am certainly not sure!) that the difference between the
two was meant to be that in the first instance, the standard namespace
is used. I can't really follow what's happening as

% cvs status pgconnection.cc
Fatal error, aborting.
: no such user

We just changed the first to the second as in g++ all that <something>
does is to include <something.h>, but it may not be true for other compilers.

Hope someone with a reference book near them can check this!

Cheers,

Patrick

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Jan Wieck 1999-07-08 10:11:51 Arbitrary tuple size
Previous Message Jan Wieck 1999-07-08 08:47:13 Re: [HACKERS] Delaying insertion of default values