▲ | fdr 6 days ago | |||||||
that also popped out at me: binding that many parameters is cursed. You really gotta use COPY (in most cases). I'll give you a real cursed Postgres one: prepared statement names are silently truncated to NAMEDATALEN-1. NAMEDATALEN is 64. This goes back to 2001...or rather, that's when NAMEDATALEN was increased in size from 32. The truncation behavior itself is older still. It's something ORMs need to know about it -- few humans are preparing statement names of sixty-plus characters. | ||||||||
▲ | antonvs 6 days ago | parent [-] | |||||||
> few humans are preparing statement names of sixty-plus characters. Java developers: hold my beer | ||||||||
|