3 ms·
There's a separate can of worms with prepared statements. Two main are: - parameters are opaque to planner, so it prefers (or is even forced to?) to choose gen
by dur-randir 3y ago
There's a separate can of worms with prepared statements. Two main are:
- parameters are opaque to planner, so it prefers (or is even forced to?) to choose generic vs specific plans
- it doesn't play nice with pg_bouncer in transaction mode
- jeltz 3y agoPgbouncer supports prepared statements these days.