2008-09-10 5 views
2

я вижу кучу строк в .log файлы в директории Postgres pg_log, которые говорят что-то вроде:Что такое подготовленное заявление?

ERROR: prepared statement "pdo_pgsql_stmt_09e097f4" does not exist

Какие подготовленные заявления, и какие вещи могут вызвать эти сообщения об ошибках, которые будут отображаться?

ответ

4

От the documentation:

A prepared statement is a server-side object that can be used to optimize performance. When the PREPARE statement is executed, the specifie statement is parsed, rewritten, and planned. When an EXECUTE command is subsequently issued, the prepared statement need only be executed. Thus, the parsing, rewriting, and planning stages are only performed once, instead of every time the statement is executed.

Поиск в сети, я обнаружил, что команда «pdo_pgsql_stmt» от какой-то PHP-подключение к базе данных. Возможно, this link может помочь вам найти доступный список рассылки или пробный трекер, на который вы можете отправить свои сообщения об ошибках?


EDIT: Я думаю, что нашел вашу ошибку здесь:

http://bugs.php.net/bug.php?id=37870

Смежные вопросы