Re: [PERFORM] scalability issues on win32

Claudio Natoli <[email protected]>
Newsgroups gmane.comp.db.postgresql.devel.win32
Message-ID <[email protected]>
> How is it that this has not bitten us elsewhere?  Are we only reading 
> tiny things from pipes in other cases so that a single read works? 

IIRC, this particular use of ReadFile is only to read version strings.


> It seems very strange that a shorter version string should cause the
failure.

Counterintuitive, but appeared entirely reproducible on my WinXP
installation. No doubt there is a perfectly unreasonable explanation.
Interested in seeing another confirmation.

In any case, afaics ReadFile fails to make any guarantee that it will return
an entire line, so pipe_read_line requires attention.

Cheers,
Claudio

---------------------------(end of broadcast)---------------------------
TIP 1: subscribe and unsubscribe commands go to [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.