Skip site navigation (1) Skip section navigation (2)

Re: Duplicate key value error

From: "Dickson S(dot) Guedes" <listas(at)guedesoft(dot)net>
To: "Itagaki Takahiro" <itagaki(dot)takahiro(at)oss(dot)ntt(dot)co(dot)jp>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Duplicate key value error
Date: 2009-07-21 12:23:25
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-hackers
Em Tue, 21 Jul 2009 02:07:47 -0300, Itagaki Takahiro  
<itagaki(dot)takahiro(at)oss(dot)ntt(dot)co(dot)jp> escreveu:
> I modified the format logic to use StringInfo and don't cut off the  
> message in 512 bytes. Key names and values will be never into '...'. I  
> changed both both report_unique_violation() and ri_ReportViolation().

Hi Takahiro!

Hum, for key names ok, but for values, wouldn't this worse the output when  
it is greater than 512 bytes?
Dickson S. Guedes
mail/xmpp: guedes(at)guedesoft(dot)net - skype: guediz -

In response to


pgsql-hackers by date

Next:From: pgDate: 2009-07-21 13:10:45
Subject: Re: [PATCH v4] Avoid manual shift-and-test logic in AllocSetFreeIndex
Previous:From: Magnus HaganderDate: 2009-07-21 12:06:25
Subject: Re: [PATCH] "could not reattach to shared memory" on Windows

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group