Re: tiny patch

Started by Bruce Momjianabout 25 years ago4 messagespatches
Jump to latest
#1Bruce Momjian
bruce@momjian.us

Thanks. Applied.

Bruce,

Noticed a small bug in the code. Probably been there for some time. Note
that the original code would consider things like UNIX domain sockets are
regular files.

Gavin Sherry
Alcove Systems Engineering

Content-Description:

[ Attachment, skipping... ]

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

Attachments:

/bjm/3text/plainDownload+4-4
#2Justin Clift
justin@postgresql.org
In reply to: Bruce Momjian (#1)
Re: Re: tiny patch

Would this have anything to do with why Solaris *sometimes* has problems with
Unix Domain sockets?

???

Regards and best wishes,

Justin Clift

On Thursday 10 May 2001 05:28, Bruce Momjian wrote:

Thanks. Applied.

Bruce,

Noticed a small bug in the code. Probably been there for some time. Note
that the original code would consider things like UNIX domain sockets are
regular files.

Gavin Sherry
Alcove Systems Engineering

Content-Description:

[ Attachment, skipping... ]

----------------------------------------
Content-Type: text/plain; charset="us-ascii"; name="Attachment: 1"
Content-Transfer-Encoding: 7bit
Content-Description:
----------------------------------------

Show quoted text

---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?

http://www.postgresql.org/search.mpl

#3Gavin Sherry
swm@linuxworld.com.au
In reply to: Justin Clift (#2)
Re: Re: tiny patch

Justin,

No, this problem would occur consistently. The patch cleans up a few lines
of code unrelated to that of opening the UNIX Domain socket for local
database connection.

But, more to the point, what is the problem PG has on solaris with domain
sockets (when it is a problem).

Gavin

On Thu, 10 May 2001, Justin Clift wrote:

Show quoted text

Would this have anything to do with why Solaris *sometimes* has problems with
Unix Domain sockets?

???

Regards and best wishes,

Justin Clift

On Thursday 10 May 2001 05:28, Bruce Momjian wrote:

Thanks. Applied.

Bruce,

Noticed a small bug in the code. Probably been there for some time. Note
that the original code would consider things like UNIX domain sockets are
regular files.

Gavin Sherry
Alcove Systems Engineering

Content-Description:

[ Attachment, skipping... ]

----------------------------------------
Content-Type: text/plain; charset="us-ascii"; name="Attachment: 1"
Content-Transfer-Encoding: 7bit
Content-Description:
----------------------------------------

---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?

http://www.postgresql.org/search.mpl

#4Justin Clift
justin@postgresql.org
In reply to: Gavin Sherry (#3)
Re: Re: tiny patch

Hi Gavin,

The PostgreSQL regressions tests are known to randomly fail on Solaris. And
it's consistently random. :( The error log seems to indicate the PostgreSQL
servers isn't able to accept connections, isn't working, or similar.

When the Unix Domain Sockets are turned off and only IP is used for the
regression tests, then a true test occurs (generally passing everything
except the Random test).

Regards and best wishes,

Justin Clift

Show quoted text

On Thursday 10 May 2001 14:52, Gavin Sherry wrote:

Justin,

No, this problem would occur consistently. The patch cleans up a few lines
of code unrelated to that of opening the UNIX Domain socket for local
database connection.

But, more to the point, what is the problem PG has on solaris with domain
sockets (when it is a problem).

Gavin