primary key error message

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: pgsql-hackers(at)postgresql(dot)org
Subject: primary key error message
Date: 2010-01-21 20:30:14
Message-ID: 1264105814.509.2.camel@vanquo.pezone.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Here is a small patch that changes the error message

duplicate key value violates unique constraint "%s"

into

duplicate key value violates primary key "%s"

when the constraint is in fact a primary key.

Comments?

PS: Yes, this would need a handful of regression test updates if
accepted.

Attachment Content-Type Size
pk-errmsg.patch text/x-patch 1.0 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Devrim GÜNDÜZ 2010-01-21 20:34:28 Re: 8.5 vs. 9.0
Previous Message Stefan Kaltenbrunner 2010-01-21 20:26:07 Re: 8.5 vs. 9.0