Re: Keyword list sanity check - Mailing list pgsql-hackers

From David Fetter
Subject Re: Keyword list sanity check
Date
Msg-id 20090430191100.GA16435@fetter.org
Whole thread Raw
In response to Re: Keyword list sanity check  (David Fetter <david@fetter.org>)
Responses Re: Keyword list sanity check  (Andy Lester <andy@petdance.com>)
List pgsql-hackers
On Thu, Apr 30, 2009 at 09:40:50AM -0700, David Fetter wrote:
> On Thu, Apr 30, 2009 at 11:39:33AM -0500, Andy Lester wrote:
> >
> > On Apr 30, 2009, at 6:41 AM, Robert Haas wrote:
> >
> >>> Please clean up this code at least to the point where it's
> >>> strict-clean, which means putting "use strict;" right after the
> >>> shebang line and not checking it in until it runs that way.
> >>
> >> And "use warnings;", too.
> >
> >
> > I'll prob'ly come up with a policy file for Perl::Critic and a make
> > target for perlcritic.
>
> The current code has a bunch of 5s in it, so it's a target-rich
> environment :)

Here's a patch that gets it to pass perlcritic -4 and still (as far as
I can tell) work.

Cheers,
David.
--
David Fetter <david@fetter.org> http://fetter.org/
Phone: +1 415 235 3778  AIM: dfetter666  Yahoo!: dfetter
Skype: davidfetter      XMPP: david.fetter@gmail.com

Remember to vote!
Consider donating to Postgres: http://www.postgresql.org/about/donate

Attachment

pgsql-hackers by date:

Previous
From: Simon Riggs
Date:
Subject: Re: pg_resetxlog bug?
Next
From: James Mansion
Date:
Subject: Re: idea: global temp tables