Skip site navigation (1) Skip section navigation (2)

Re: [HACKERS] Current Win32 port status

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Andrew Dunstan <andrew(at)dunslane(dot)net>
Cc: pgsql-hackers-win32(at)postgresql(dot)org
Subject: Re: [HACKERS] Current Win32 port status
Date: 2003-12-22 15:48:06
Message-ID: 16255.1072108086@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-hackerspgsql-hackers-win32pgsql-patches
Andrew Dunstan <andrew(at)dunslane(dot)net> writes:
> Using a socket or a pair of sockets is a very common practice in porting 
> this sort of code from Unix to Windows. IIRC this is what Cygwin does 
> under the hood.

> That would help to preserve the programming paradigms already in use in 
> Postgres. If it proves to be a performance bottleneck then it could be 
> revisited, but it seems unlikely.

AFAIR there is no place in Postgres where performance of a pipe
connection is critical.  Don't go out of your way to make it fast.

In fact, right offhand I only see two pipes used at all in the source
code: they are both in pgstat.c.  It's fairly likely that that could be
redesigned if it poses a problem on Windows.  (One of the pipes never
even transports any data; it's only used as a cheap-and-dirty means of
letting the statistics subprocess detect postmaster exit.)

			regards, tom lane

In response to

Responses

pgsql-hackers by date

Next:From: Tom LaneDate: 2003-12-22 15:55:44
Subject: Re: cascading column drop to index predicates
Previous:From: Andreas PflugDate: 2003-12-22 15:46:00
Subject: Re: cascading column drop to index predicates

pgsql-patches by date

Next:From: Tom LaneDate: 2003-12-22 15:55:44
Subject: Re: cascading column drop to index predicates
Previous:From: Andreas PflugDate: 2003-12-22 15:46:00
Subject: Re: cascading column drop to index predicates

pgsql-hackers-win32 by date

Next:From: Andrew DunstanDate: 2003-12-22 18:28:18
Subject: Re: [HACKERS] Current Win32 port status
Previous:From: Andrew DunstanDate: 2003-12-22 15:20:13
Subject: Re: [HACKERS] Current Win32 port status

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group