mirror of
https://github.com/postgres/postgres.git
synced 2025-07-03 20:02:46 +03:00
Increase buffer size to improve performance of client-side lo_import.
This commit is contained in:
@ -8,7 +8,7 @@
|
|||||||
*
|
*
|
||||||
*
|
*
|
||||||
* IDENTIFICATION
|
* 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 */
|
#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);
|
static int lo_initialize(PGconn *conn);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user