Increase buffer size to improve performance of client-side lo_import.
authorTom Lane
Tue, 24 Oct 2000 03:15:14 +0000 (03:15 +0000)
committerTom Lane
Tue, 24 Oct 2000 03:15:14 +0000 (03:15 +0000)
src/interfaces/libpq/fe-lobj.c

index 859a383c710ab1324eb3064e5bfb451126fa86c8..e7aa08a9fe3b601bc8144d310b3670cbc098400d 100644 (file)
@@ -8,7 +8,7 @@
  *
  *
  * IDENTIFICATION
- *   $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-lobj.c,v 1.30 2000/06/02 15:57:42 momjian Exp $
+ *   $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-lobj.c,v 1.31 2000/10/24 03:15:14 tgl Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -30,7 +30,7 @@
 #include "libpq/libpq-fs.h"        /* must come after sys/stat.h */
 
 
-#define LO_BUFSIZE       1024
+#define LO_BUFSIZE       8192
 
 static int lo_initialize(PGconn *conn);