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

From: Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>
To: pjlobo(at)euitt(dot)upm(dot)es (Pedro J(dot) Lobo)
Cc: dwayne(at)mika(dot)com, pgsql-hackers(at)postgreSQL(dot)org
Subject: Re: Unix Domain Sockets error (was Re: [HACKERS] Alpha initdb fixed!)
Date: 1998-03-17 14:52:24
Message-ID: 199803171452.JAA13555@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> 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?
>
> These are the regression tests when a port number is specified (note that
> you *must* assign a value to PGPORT before running the tests):

Let's get a patch for this alpha fix. Not sure about the pgport problem.

--
Bruce Momjian | 830 Blythe Avenue
maillist(at)candle(dot)pha(dot)pa(dot)us | Drexel Hill, Pennsylvania 19026
+ If your life is a hard drive, | (610) 353-9879(w)
+ Christ can be your backup. | (610) 853-3000(h)

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Meskes 1998-03-17 15:53:24 standards question
Previous Message Mattias Kregert 1998-03-17 14:28:30 Regression test