Postgresql error: insert operation returns id exists in Python
13921
How to reset postgres' primary key sequence when it falls out of sync?
146943
PHP/MySQL insert row then get 'id'
145442
SQL Server: Cannot insert an explicit value into a timestamp column
148532
Get last insert id after a prepared insert with PDO
158559
Why does Postgres generate an already used PK value?
108037
Insert multiples rows/columns - PostgreSQL 9.2
95306
PostgreSQL error: Fatal: role "username" does not exist
79987
SQL - Inserting a row and returning primary key
110522
Insert, on duplicate update in PostgreSQL?
29261
mysql_insert_id issue in concurrency data inserting
133316
ORA 00904 Error:Invalid Identifier
122501
Why does upsert cause a DUPLICATE_VALUE error?
34058
How to debug the mysterious "duplicate value found:  duplicates value on record with id: " error
67433
Insert data only if record does not exist
130341
SQL Insert Statement Persists Two Records When I Need Just One
36386
Best way to get identity of inserted row?
118519
ORA-00904: invalid identifier