Re: Unix Domain Sockets error (was Re: [HACKERS] Alpha initdb fixed!)

Поиск
Список
Период
Сортировка
От Dwayne Bailey
Тема Re: Unix Domain Sockets error (was Re: [HACKERS] Alpha initdb fixed!)
Дата
Msg-id Pine.OSF.3.95.980317072237.17157A-100000@mika20.mika.com
обсуждение исходный текст
Ответ на Unix Domain Sockets error (was Re: [HACKERS] Alpha initdb fixed!)  ("Pedro J. Lobo" <pjlobo@euitt.upm.es>)
Ответы Re: Unix Domain Sockets error (was Re: [HACKERS] Alpha initdb fixed!)  ("Pedro J. Lobo" <pjlobo@euitt.upm.es>)
Список 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 по дате отправления:

Предыдущее
От: "Pedro J. Lobo"
Дата:
Сообщение: Unix Domain Sockets error (was Re: [HACKERS] Alpha initdb fixed!)
Следующее
От: Michael Meskes
Дата:
Сообщение: Re: [HACKERS] Re: Multi field hash indexes