Re: Win32 testing needed

Tom Lane <[email protected]>
Newsgroups gmane.comp.db.postgresql.devel.win32
Message-ID <[email protected]>
Andreas Pflug <[email protected]> writes:
> The attached code snippet works. I hesitated to use palloc(count*2) to 
> avoid problems in low mem conditions; might be paranoid.

No, I quite agree.  What we can do is adjust this to call
write_syslogger_file_binary more than once if the convbuf gets full;
then we can use a pretty small convbuf without fear.

Will fix and commit --- thanks!

			regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 8: explain analyze is your friend
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.