Skip site navigation (1) Skip section navigation (2)

Re: ISM shared memory on solaris

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Josh Wilmes <jwilmes(at)cisco(dot)com>
Cc: pgsql-bugs(at)postgresql(dot)org, pgsql-patches(at)postgresql(dot)org,Nick Johnson <njohnson(at)cisco(dot)com>
Subject: Re: ISM shared memory on solaris
Date: 2003-10-26 04:53:05
Message-ID: 200310260453.h9Q4r5w19896@candle.pha.pa.us (view raw or flat)
Thread:
Lists: pgsql-bugspgsql-patches
OK, attached patch applied.  I tested for 'sun' rather than 'solaris'.

---------------------------------------------------------------------------

Josh Wilmes wrote:
> 
> Bruce Momjian wrote:
> 
> > Josh Wilmes wrote:
> > 
> >>Nope, __solaris__ is not defined on our system either.
> > 
> > 
> > I thought our configure defined __portname__ for every platform, but I
> > don't see that anywhere, so it seems we rely on the compiler to supply
> > defines for the cpu and OS.
> > 
> > Does src/tools/ccsym show you your defines?  I would like to have
> > something that identifies Solaris rather than something that checks for
> > ISM so that if the ISM define isn't found, we throw an error and we hear
> > about it.
> 
> That would be preferable- i didn't know what was safe to assume would 
> always be defined.
> 
> ccsym is pretty neat.  Here's what it shows (gcc)
> 
> __GNUC__=2
> __GNUC_MINOR__=95
> sparc
> sun
> unix
> __svr4__
> __SVR4
> __sparc__
> __sun__
> __unix__
> __svr4__
> __SVR4
> __sparc
> __sun
> __unix
> system=unix
> system=svr4
> __GCC_NEW_VARARGS__
> cpu=sparc
> machine=sparc
> 
> 
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 7: don't forget to increase your free space map settings
> 

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman(at)candle(dot)pha(dot)pa(dot)us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

In response to

Responses

pgsql-bugs by date

Next:From: Bruce MomjianDate: 2003-10-26 04:55:34
Subject: Re: ISM shared memory on solaris
Previous:From: Lynn.TilbyDate: 2003-10-26 02:45:22
Subject: Re: Numeric casts in locale en_GB on FreeBSD 4.7

pgsql-patches by date

Next:From: Bruce MomjianDate: 2003-10-26 04:55:34
Subject: Re: ISM shared memory on solaris
Previous:From: Bruce MomjianDate: 2003-10-26 04:51:55
Subject: Re: Tutorial fixes

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group