Add value to error message when size extends

From: Maor Lipchuk <mlipchuk(at)redhat(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Cc: Daniel Erez <derez(at)redhat(dot)com>
Subject: Add value to error message when size extends
Date: 2014-01-19 16:49:14
Message-ID: 52DC020A.3000304@redhat.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi all,

We have encountered an issue when executing an insert command,
when one of the values' length was bigger than the column size limitation.

the error message which been displayed was "value too long for type char..."
but there was no indication which value has exceeded the limited size.
(See bug #8880)

Attached is a WIP patch which attend to make the message clearer.

Regards,
Maor and Daniel

Attachment Content-Type Size
0001-varchar.c-WIP-Add-value-to-error-message-when-size-e.patch text/x-patch 1.2 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Florian Pflug 2014-01-19 16:53:48 Re: [PATCH] Negative Transition Aggregate Functions (WIP)
Previous Message Magnus Hagander 2014-01-19 16:14:31 Re: Deprecations in authentication