On Sat, Apr 11, 2009 at 3:51 AM, Pavel Stehule <pavel.steh...@gmail.com> wrote:
> So, please, if you can, propose these error messages (with hints)-
> result will be much better.
>

Hi Pavel, hackers.

I've done some work updating Pavel's sci notation patch for to_char().
 I've attached a patch against HEAD (EEEE_2.diff.bz2) and against
Pavel's patch as originally submitted to the list
(EEEE_1-to-2.diff.bz2).

A summary of my changes:

 * Improve the wording of error messages, and add some detail/hint parts.
 * Update the documentation.
 * Move the duplicated "one digit before decimal point" test into a macro.
 * Fix a bug in the int8_to_char() implementation (was using the wrong
variable).

Hope you find this useful.

Cheers,
BJ

Attachment: EEEE_2.diff.bz2
Description: BZip2 compressed data

Attachment: EEEE_1-to-2.diff.bz2
Description: BZip2 compressed data

-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Reply via email to