Re: Bind message
От | Guy Rouillier |
---|---|
Тема | Re: Bind message |
Дата | |
Msg-id | D4D1632DC736E74AB95FE78CD609007923B0F7@mtxexch01.add0.masergy.com обсуждение исходный текст |
Ответ на | Re: Bind message (Dave Cramer <pg@fastcrypt.com>) |
Ответы |
Re: Bind message
Re: Bind message |
Список | pgsql-jdbc |
Dave Cramer wrote: > Hi, > > > The default is not to re-use statements, you have add > prepareThreshold=n to the url where n is greater than 0. What this > means is that after n times of use the prepared statement will be > re-used.. That's peculiar. The whole point of prepared statements is to obtain the optimization of statement reuse. If PostgreSQL is going to prevent that, I'd expect the prevention to be the exception rather than the rule. That is, programmers should reasonably expect that the default behavior is statement reuse. > > see > http://jdbc.postgresql.org/documentation/head/connect.html#connection-pa rameters > for more details -- Guy Rouillier
В списке pgsql-jdbc по дате отправления: