Fix the following bugs in master_slave mode && load_balance mode.
authorYoshiyuki Asaba <y-asaba at pgfoundry.org>
Thu, 12 Jul 2007 03:48:22 +0000 (03:48 +0000)
committerYoshiyuki Asaba <y-asaba at pgfoundry.org>
Thu, 12 Jul 2007 03:48:22 +0000 (03:48 +0000)
commitf181d0bd48da2a44bee2863572368bc3c6dfb204
tree5e8aa6e7a93cbb1e02b15026ed0b43b0f7143ad7
parent3eea6775ab8e0d726087b0a8dc5d6d393ba775d2
Fix the following bugs in master_slave mode && load_balance mode.
We force to replicate PREPARE and DEALLOCATE statement because of the case.

  PREPARE xx AS SELECT 1;
  EXECUTE xx;

If EXECUTE statement was load balanced, it occured the error.

  ERROR:  prepared statement "xx" does not exist
pool_process_query.c