| От | Flipper |
|---|---|
| Тема | prepared statement: are they pre-compiled? |
| Дата | |
| Msg-id | 200707051023.25650.flipper@gammadue.com обсуждение исходный текст |
| Ответы |
Re: prepared statement: are they pre-compiled?
|
| Список | pgsql-jdbc |
Hi all, a little question about prepared statement. I know that one advantage of using prepared statement is the fact that the statament could be "precompiled" by the server before the binding of parameters, is it true? But while observing the messages sent from the FE to the BE by the postgresql driver, I noticed that the query is sent along with the bind of the parameters, that is the when the executeQuery() method is called on the prepared statement, both the parse and bind messages are sent. I thought the bind message have to be sent before the bind one, but it seems to me it's not. Anyone can please help me understand this? Thanks.
В списке pgsql-jdbc по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера