Skip to content

prepared statement caching: are comments ignored? #1044

Closed Answered by JelteF
adriangb asked this question in Q&A
Discussion options

You must be logged in to vote

Why are you adding these comments to the queries in the first place? Seems like that's the problem here. Can you turn that off instead? Afaict even without pgbouncer in the middle that's going to problematic to get any perf benefit from prepared statements, because every statement will be new anyway.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@adriangb
Comment options

@JelteF
Comment options

Answer selected by JelteF
@adriangb
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants