Re: [HACKERS] Subscription code improvements - Mailing list pgsql-hackers

From Tom Lane
Subject Re: [HACKERS] Subscription code improvements
Date
Msg-id 21948.1501705064@sss.pgh.pa.us
Whole thread Raw
In response to Re: [HACKERS] Subscription code improvements  (Alvaro Herrera <alvherre@2ndquadrant.com>)
Responses Re: [HACKERS] Subscription code improvements  (Stephen Frost <sfrost@snowman.net>)
List pgsql-hackers
Alvaro Herrera <alvherre@2ndquadrant.com> writes:
> I wish you'd stop splitting error message strings across multiple lines.
> I've been trapped by a faulty grep not matching a split error message a
> number of times :-(  I know by now to remove words until I get a match,
> but it seems an unnecessary trap for the unwary.

Yeah, that's my number one reason for not splitting error messages, too.
It's particularly nasty if similar strings appear in multiple places and
they're not all split alike, as you can get misled into thinking that a
reported error must have occurred in a place you found, rather than
someplace you didn't.
        regards, tom lane



pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: [HACKERS] Subscription code improvements
Next
From: Stephen Frost
Date:
Subject: Re: [HACKERS] Subscription code improvements