David Johnston <polobo@xxxxxxxxx> writes: > This is likely the case where the first few "prepared statements" are > not truly prepared. Once you hit five the cache kicks in and computes > a generic query plan to cache. Not so much that as that JDBC decides that it should tell the backend to start using a prepared plan. See the JDBC docs. regards, tom lane -- Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general