primary key error message - Mailing list pgsql-hackers

From Peter Eisentraut
Subject primary key error message
Date
Msg-id 1264105814.509.2.camel@vanquo.pezone.net
Whole thread Raw
Responses Re: primary key error message  (Robert Haas <robertmhaas@gmail.com>)
List 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

pgsql-hackers by date:

Previous
From: Stefan Kaltenbrunner
Date:
Subject: Re: 8.5 vs. 9.0
Next
From: Devrim GÜNDÜZ
Date:
Subject: Re: 8.5 vs. 9.0