Re: [PATCH] Improve bytea error messages

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: Craig Ringer <craig(at)2ndquadrant(dot)com>
Cc: PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [PATCH] Improve bytea error messages
Date: 2014-07-07 23:44:53
Message-ID: CA+TgmoYZg24E7B_xHxQQZoi23xipjH+nU-HK7wC3eh4E0h46zQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Sun, Jul 6, 2014 at 4:17 AM, Craig Ringer <craig(at)2ndquadrant(dot)com> wrote:
> After someone reported somewhat less than informative errors in bytea
> decoding (http://stackoverflow.com/q/24588866/398670) I thought I'd put
> together a quick patch to improve the errors here.

The first two changes seem fine from here, but I think the use of
parentheses in the third one likely violates our message style
guidelines.

--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2014-07-08 00:14:04 Re: Built-in binning functions
Previous Message Tom Lane 2014-07-07 23:25:06 Re: [REVIEW] Re: Fix xpath() to return namespace definitions