From: | Andrew Dunstan <andrew(at)dunslane(dot)net> |
---|---|
To: | pgsql-hackers-win32 <pgsql-hackers-win32(at)postgresql(dot)org> |
Subject: | Re: [HACKERS] Current Win32 port status |
Date: | 2003-12-22 18:28:18 |
Message-ID: | 3FE737C2.7080105@dunslane.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers pgsql-hackers-win32 pgsql-patches |
Tom Lane wrote:
>
>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.)
>
>
>
You are correct - I noticed that. Also, the only places in the backend
where we seem to use select() on FDs are in pgstat.c and postmaster.c,
and in the latter case the FDs *are* sockets, so we won't have a problem
there on Windows. There are a couple of other places where it is used
for small sleeps (storage/lmgr/s_lock.c and access/transam/xact.c) -
those should possibly be abstracted out (Windows doesn't behave well
there anyway, I believe - with 0 FDs I read somewhere it returns
immediately regardless of the timeout setting).
Bottom line: this should be a very small nut to crack.
cheers
andrew
From | Date | Subject | |
---|---|---|---|
Next Message | Marc G. Fournier | 2003-12-22 18:43:53 | Re: [COMMITTERS] pgsql-server/doc/src/sgml Tag: REL7_4_STABLE |
Previous Message | Dan Langille | 2003-12-22 18:21:53 | Re: PostgreSQL speakers needed for OSCON 2004 |
From | Date | Subject | |
---|---|---|---|
Next Message | Claudio Natoli | 2003-12-22 22:46:49 | Re: [HACKERS] Current Win32 port status |
Previous Message | Tom Lane | 2003-12-22 15:48:06 | Re: [HACKERS] Current Win32 port status |
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 2003-12-22 20:13:03 | Re: [GENERAL] Temporary tables and miscellaneous schemas |
Previous Message | Andreas Pflug | 2003-12-22 16:18:04 | Re: cascading column drop to index predicates |