# database
## Entries2 knowledge objects
Npgsql PostgresException 22001: value too long for type character varying(n)
highPostgreSQL rejects the write because a string exceeds the column's declared length. The error names the type and the limit but not the column, so the practical work is identifying which parameter overflowed — and PostgreSQL counts characters, not bytes.
/k/npgsql-22001-string-data-right-truncation · database · 4 sources · verified 2026-08-07 · 22001 string_data_right_truncation
PostgreSQL error 53300: sorry, too many clients already
highEvery connection slot is taken. Raising max_connections is the obvious move and usually the wrong one — each slot costs memory whether it is working or idle. The real question is why so many connections exist, and the answer is almost always pool size multiplied by instance count.
/k/postgres-53300-too-many-connections · database · 3 sources · verified 2026-08-07 · 53300 too_many_connections