Add value to error message when size extends - Mailing list pgsql-hackers

From Maor Lipchuk
Subject Add value to error message when size extends
Date
Msg-id 52DC020A.3000304@redhat.com
Whole thread Raw
Responses Re: Add value to error message when size extends  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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

pgsql-hackers by date:

Previous
From: Magnus Hagander
Date:
Subject: Re: Deprecations in authentication
Next
From: Florian Pflug
Date:
Subject: Re: [PATCH] Negative Transition Aggregate Functions (WIP)