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 |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers pgsql-hackers-win32 pgsql-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
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2003-12-22 15:55:44 | Re: cascading column drop to index predicates |
Previous Message | Andreas Pflug | 2003-12-22 15:46:00 | Re: cascading column drop to index predicates |
From | Date | Subject | |
---|---|---|---|
Next Message | Andrew Dunstan | 2003-12-22 18:28:18 | Re: [HACKERS] Current Win32 port status |
Previous Message | Andrew Dunstan | 2003-12-22 15:20:13 | Re: [HACKERS] Current Win32 port status |
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2003-12-22 15:55:44 | Re: cascading column drop to index predicates |
Previous Message | Andreas Pflug | 2003-12-22 15:46:00 | Re: cascading column drop to index predicates |