pgsql/src backend/commands/copy.c backend/libp ... 
Author Message
 pgsql/src backend/commands/copy.c backend/libp ...

CVSROOT:        /cvsroot
Module name:    pgsql

Modified files:
        src/backend/commands: copy.c
        src/backend/libpq: pqcomm.c
        src/backend/tcop: postgres.c
        src/include/libpq: libpq.h

Log message:
        Replace pq_getbytes(&ch, 1) calls with pq_getbyte(), which is easier
        to use and significantly faster.  This tweak saves 25% (!) of the runtime
        of COPY IN in a test with 8000-character lines.  I wouldn't normally
        commit a performance improvement this late in the cycle, but 25% got
        my attention...

---------------------------(end of broadcast)---------------------------
TIP 3: if posting/reading through Usenet, please send an appropriate

message can get through to the mailing list cleanly



Sun, 23 May 2004 03:47:50 GMT
 
 [ 1 post ] 

 Relevant Pages 

1. pgsql/src backend/commands/user.c backend/libp ...

2. pgsql/src backend/commands/copy.c backend/comm ...

3. pgsql/src backend/commands/copy.c backend/util ...

4. pgsql/src backend/commands/copy.c backend/exec ...

5. pgsql/src backend/commands/command.c backend/p ...

6. pgsql/src backend/commands/command.c backend/e ...

7. pgsql/src backend/commands/command.c backend/c ...

8. pgsql/src backend/commands/command.c backend/p ...

9. pgsql/src backend/commands/command.c backend/e ...

10. pgsql/src backend/commands/command.c backend/u ...

11. pgsql/src backend/commands/command.c backend/c ...

12. pgsql/src backend/commands/command.c backend/c ...


 
Powered by phpBB® Forum Software