"Rami Chowdhury" <rami.chowdh...@gmail.com> writes: > IIRC Postgres has had ON DUPLICATE KEY UPDATE functionality longer than > MySQL...
PostgreSQL does not have ON DUPLICATE KEY UPDATE. The SQL standard way to do what the OP wants is MERGE. PostgreSQL doesn't have that either. -M- -- http://mail.python.org/mailman/listinfo/python-list