| From: | Peter Eisentraut <peter_e(at)gmx(dot)net> |
|---|---|
| To: | Robert Haas <robertmhaas(at)gmail(dot)com> |
| Cc: | pgsql-hackers(at)postgresql(dot)org |
| Subject: | Re: primary key error message |
| Date: | 2010-01-21 21:24:16 |
| Message-ID: | 1264109056.509.10.camel@vanquo.pezone.net |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
On tor, 2010-01-21 at 15:47 -0500, Robert Haas wrote:
> On Thu, Jan 21, 2010 at 3:30 PM, Peter Eisentraut <peter_e(at)gmx(dot)net> wrote:
> > 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?
>
> Why bother?
Because unique constraints and primary keys are different things and it
would be slightly less confusing that way.
> And why bother now, when we're in the middle of the last
> CommitFest and trying to move toward a release?
Are you saying we can't discuss anything new during the commit fest?
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tom Lane | 2010-01-21 21:29:12 | Re: primary key error message |
| Previous Message | Peter Eisentraut | 2010-01-21 21:22:30 | Re: primary key error message |