我在Postgres日志中看到很多与特定应用程序的预准备语句相关的错误。有几个应用程序使用相同的数据库实例,但没有一个有问题。我不知道为什么会这样,或者我应该担心它。从功能上来说,PHP应用程序运行良好。
我在数据库前面运行了pgbouncer。
< 2017-03-23 05:15:01.663 CDT >ERROR: prepared statement "pdo_stmt_00000001" already exists
< 2017-03-23 05:15:01.663 CDT >STATEMENT: SELECT DISTINCT a0_.company_id AS company_uuid0, a0_.sub_source AS sub_source1, a0_.notification_body AS notification_body2, a0_.system_id AS system_id3 FROM action_item_notification a0_ WHERE a0_.delivered = false
< 2017-03-23 05:15:01.664 CDT >ERROR: prepared statement "pdo_stmt_00000001" does not exist
< 2017-03-23 05:15:01.664 CDT >STATEMENT: DEALLOCATE pdo_stmt_00000001