| 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 |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-bugs pgsql-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
| Attachment | Content-Type | Size |
|---|---|---|
| unknown_filename | text/plain | 1.3 KB |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Bruce Momjian | 2003-10-26 04:55:34 | Re: ISM shared memory on solaris |
| Previous Message | Lynn.Tilby | 2003-10-26 02:45:22 | Re: Numeric casts in locale en_GB on FreeBSD 4.7 |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Bruce Momjian | 2003-10-26 04:55:34 | Re: ISM shared memory on solaris |
| Previous Message | Bruce Momjian | 2003-10-26 04:51:55 | Re: Tutorial fixes |