Re: Unix Domain Sockets error (was Re: [HACKERS] Alpha initdb fixed!) - Mailing list pgsql-hackers

From Dwayne Bailey
Subject Re: Unix Domain Sockets error (was Re: [HACKERS] Alpha initdb fixed!)
Date
Msg-id Pine.OSF.3.95.980317072237.17157A-100000@mika20.mika.com
Whole thread Raw
In response to Unix Domain Sockets error (was Re: [HACKERS] Alpha initdb fixed!)  ("Pedro J. Lobo" <pjlobo@euitt.upm.es>)
Responses Re: Unix Domain Sockets error (was Re: [HACKERS] Alpha initdb fixed!)
List pgsql-hackers
-----BEGIN PGP SIGNED MESSAGE-----

On Tue, 17 Mar 1998, Pedro J. Lobo wrote:

>
> I've done more tests. The problem is that if you start the postmaster
> without the '-p' option and without assigning a value to the PGPORT
> environment variable, then all the ipc stuff is messed up. No shared
> memory regions are created, and the semaphores are created but never
> freed. When a port number is specified, the sempahores (and the shared
> memory regions) have a 'key' value that contains the port number. Without
> port number, there is no shared memory and the sempahores have 0 as the
> key value.
>
> I don't know if this behaviour is due to the use of a non-standard port
> (5440), but since it's been specified in configure (--with-pgport=5440) it
> should work. shouldn't it?

I got the same results that you did.  I was planning on
investigating this morning, but it looks like you beat me to it.
I ALSO built 6.3 with a non-standard port, so that I could keep
my current database live while I work on this.

I'll try your suggestion, but I'll also try rebuilding using the
standard port, to see if it makes any difference.

Re: your suggestion to use __alpha and not worry about the
makefile, I'm a little uncomfortable with that.  DEC's cc will
actually output different symbols, depending on the use of the
- -std flag.  I'd rather have something that we have explicit
control over, rather than relying on the compiler like this.  I'm
not violently opposed to useing __alpha or anything, it's just a
preference against it.

- --
Dwayne Bailey                   + WHAT is your name? Sir Galahad
MIKA Systems, Bingham Farms, MI + WHAT is your quest? I Seek the Holy Grail
dwayne@mika.com                 + What is your favorite color?
http://www.mika.com/~dwayne     +    Blue ... no, Yelloooooooooooooooooow
            finger dwayne@mika20.mika.com for PGP Public Key

-----BEGIN PGP SIGNATURE-----
Version: 2.6.2

iQB1AwUBNQ5svqA2uleK7maRAQHJ1gL/ULW54HyDSjLZv++z2j1taxfdchgpPAL1
9WDrJAdPHmEjm1iAZfQT6gqIpwZ70fp2VpRneqZZyoUw1ZCHE3ufcDHz29t43Rbb
QJL6lDl99J0R3ZH6rA8JHhd6Mn0uV9YM
=eZ4b
-----END PGP SIGNATURE-----


pgsql-hackers by date:

Previous
From: "Pedro J. Lobo"
Date:
Subject: Unix Domain Sockets error (was Re: [HACKERS] Alpha initdb fixed!)
Next
From: Michael Meskes
Date:
Subject: Re: [HACKERS] Re: Multi field hash indexes