From: Tom Lane <[EMAIL PROTECTED]>
Subject: Re: [HACKERS] SO_SNDBUF size is small on win32? 
Date: Wed, 28 Jun 2006 09:54:21 -0400

> Yoshiyuki Asaba <[EMAIL PROTECTED]> writes:
> > I think libpq interface does not use non-blocking socket.
> 
> Not unless the Windows port has also disabled pg_set_noblock ...

Sorry, I misunderstood.

I tried to occur this issue on msys.

 % cat test.sh
 export PGHOST=xxx
 export PGPORT=5432
 export PGDATABASE=test
 
 dropdb $PGDATABASE
 createdb
 psql -c 'CREATE TABLE t1 (a int, b text)'
 i=0
 while [ $i -lt 50 ]; do
   psql -c "insert into t1 values ($i, repeat('x', 10000))"
   i=`expr $i + 1`
 done
 pg_dump -a > dump
 time psql -f dump

 % sh test.sh

But, I did not occur this issue... Does anyone occur this issue?
--
Yoshiyuki Asaba
[EMAIL PROTECTED]

---------------------------(end of broadcast)---------------------------
TIP 3: Have you checked our extensive FAQ?

               http://www.postgresql.org/docs/faq

Reply via email to