| 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: | op.uxe3dbuyij9ntq@analise3.cresoltec.com.br |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| 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
http://guedesoft.net - http://www.postgresql.org.br
http://www.rnp.br/keyserver/pks/lookup?search=0x8F3E3C06D428D10A
| From | Date | Subject | |
|---|---|---|---|
| Next Message | pg | 2009-07-21 13:10:45 | Re: [PATCH v4] Avoid manual shift-and-test logic in AllocSetFreeIndex |
| Previous Message | Magnus Hagander | 2009-07-21 12:06:25 | Re: [PATCH] "could not reattach to shared memory" on Windows |