From 6a45534a59cf9f0ec1df86b23d83d3933fca6d01 Mon Sep 17 00:00:00 2001 From: chowey Date: Thu, 5 Apr 2012 08:07:30 -0700 Subject: [PATCH] Add info about client re-use which might clear up misconceptions. --- pg.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pg.md b/pg.md index d41150b..abb5733 100644 --- a/pg.md +++ b/pg.md @@ -33,6 +33,8 @@ The connect method retrieves a __[[Client]]__ from the client pool, or if all po If called with only one _function_ argument, uses [[defaults|pg#properties-defaults]] for connection configuration. +When the client raises its [[__drain__ event|Client#drainEvent]], the client is automatically returned to the pool for reuse. + #### parameters * _string_ __connectionString__