> What for function save_pending_data in pool_stream.c ?.
pgpool always reads READBUFSZ bytes from socket for performance reason. If caller of pool_read wants less than READBUFSZ and pool_read reads more bytes than caller expetcs, data should be saved for later use. That's the job for save_pending_data. -- Tatsuo Ishii SRA OSS, Inc. Japan English: http://www.sraoss.co.jp/index_en.php Japanese: http://www.sraoss.co.jp _______________________________________________ Pgpool-general mailing list [email protected] http://pgfoundry.org/mailman/listinfo/pgpool-general
