Every error in the library, by number and alphabetically. 24 errors so far.
By SQLSTATE
- 3D000 database does not exist
- 22P02 invalid input syntax for type integer
- 25P02 current transaction is aborted, commands ignored until end of transaction block
- 28P01 password authentication failed for user
- 40P01 deadlock detected
- 42P01 relation does not exist
- 08001 connection to server failed: Connection refused
- 21000 more than one row returned by a subquery used as an expression
- 22001 value too long for type character varying
- 22003 integer out of range
- 23502 null value in column violates not-null constraint
- 23503 insert or update on table violates foreign key constraint
- 23505 duplicate key value violates unique constraint
- 28000 no pg_hba.conf entry for host
- 40001 could not serialize access due to concurrent update
- 42501 permission denied for table
- 42601 syntax error at or near
- 42702 column reference is ambiguous
- 42703 column does not exist
- 42803 column must appear in the GROUP BY clause or be used in an aggregate function
- 42804 column is of type integer but expression is of type text
- 42883 operator does not exist
- 53300 sorry, too many clients already
- 57014 canceling statement due to statement timeout
A to Z by message
C
- canceling statement due to statement timeout 57014
- column does not exist 42703
- column is of type integer but expression is of type text 42804
- column must appear in the GROUP BY clause or be used in an aggregate function 42803
- column reference is ambiguous 42702
- connection to server failed: Connection refused 08001
- could not serialize access due to concurrent update 40001
- current transaction is aborted, commands ignored until end of transaction block 25P02
D
- database does not exist 3D000
- deadlock detected 40P01
- duplicate key value violates unique constraint 23505
I
- insert or update on table violates foreign key constraint 23503
- integer out of range 22003
- invalid input syntax for type integer 22P02