Re: HEADS UP: Win32/OS2/BeOS native ports - Mailing list pgsql-hackers

From Matthew Kirkwood
Subject Re: HEADS UP: Win32/OS2/BeOS native ports
Date
Msg-id Pine.LNX.4.33.0205090119210.23513-100000@sphinx.mythic-beasts.com
Whole thread Raw
In response to Re: HEADS UP: Win32/OS2/BeOS native ports  ("Igor Kovalenko" <Igor.Kovalenko@motorola.com>)
List pgsql-hackers
On Wed, 8 May 2002, Igor Kovalenko wrote:

> Can you be more specific? What required syntax? I was talking about
> named pipe vs UDS socket...

Sorry, I meant semantics.

A pipe can have multiple readers and multiple writers.  This is
no use for us.

A listening SOCK_STREAM Unix domain socket can have no readers or
writers, but only one listener (well, except that other processes
can inherit or be passed the socket).  You have to connect() (and
the server must accept()) before read and write do anything.  But
we have no use for that here.  It's just an exclusive-only mutex
whose namespace is the filesystem.

It really is like a TCP socket, except that the address namespace
is the filesystem, and thus it's not available remotely.

Think of it as a TCP socket without the "which address and port
do I use, and how do I keep it secure" issues.

Matthew.



pgsql-hackers by date:

Previous
From: "Nicolas Bazin"
Date:
Subject: Re: Path to PostgreSQL portabiliy
Next
From: Joe Conway
Date:
Subject: Re: Bad side-effect from making EXPLAIN return a select