Re: Duplicate key value error - Mailing list pgsql-hackers

From Dickson S. Guedes
Subject Re: Duplicate key value error
Date
Msg-id op.uxe3dbuyij9ntq@analise3.cresoltec.com.br
Whole thread Raw
In response to Re: Duplicate key value error  (Itagaki Takahiro <itagaki.takahiro@oss.ntt.co.jp>)
Responses Re: Duplicate key value error
List pgsql-hackers
Em Tue, 21 Jul 2009 02:07:47 -0300, Itagaki Takahiro  
<itagaki.takahiro@oss.ntt.co.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@guedesoft.net - skype: guediz
http://guedesoft.net - http://www.postgresql.org.br
http://www.rnp.br/keyserver/pks/lookup?search=0x8F3E3C06D428D10A


pgsql-hackers by date:

Previous
From: Greg Stark
Date:
Subject: Re: [PATCH] SE-PgSQL/tiny rev.2193
Next
From: Tom Lane
Date:
Subject: Re: pg_restore --clean vs. large object