Re: [PATCH] Improve bytea error messages - Mailing list pgsql-hackers

From Robert Haas
Subject Re: [PATCH] Improve bytea error messages
Date
Msg-id CA+TgmoYZg24E7B_xHxQQZoi23xipjH+nU-HK7wC3eh4E0h46zQ@mail.gmail.com
Whole thread Raw
In response to [PATCH] Improve bytea error messages  (Craig Ringer <craig@2ndquadrant.com>)
Responses Re: [PATCH] Improve bytea error messages
List pgsql-hackers
On Sun, Jul 6, 2014 at 4:17 AM, Craig Ringer <craig@2ndquadrant.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



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: [REVIEW] Re: Fix xpath() to return namespace definitions
Next
From: Tom Lane
Date:
Subject: Re: Built-in binning functions