Re: Perl 5.12 complains about ecpg parser-hacking scripts

From: Andy Colson <andy(at)squeakycode(dot)net>
To: kris(at)shannon(dot)id(dot)au
Cc: Andrew Dunstan <andrew(at)dunslane(dot)net>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Perl 5.12 complains about ecpg parser-hacking scripts
Date: 2011-01-23 15:16:33
Message-ID: 4D3C4651.6010307@squeakycode.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 01/23/2011 08:29 AM, Andy Colson wrote:
> On 01/22/2011 09:28 PM, kris(at)shannon(dot)id(dot)au wrote:
>> On 23 January 2011 13:14, Andrew Dunstan<andrew(at)dunslane(dot)net> wrote:
>>> But there are quite a few perlheads around. ISTR Matt Trout was muttering
>>> about these scripts on IRC recently.

Ok, so I've figured out what its purpose is.

Are there other problems with this script? Does it not pull out the rule names correct all the time or something? What problem was Matt having with it?

I think rewriting from scratch is overkill, unless this script is just failing. The code to pull the rule names out is a bit complex, and it seems to work, so I'd rather not touch it.

Are there other things you wished this script did? (reports, counts, etc)

-Andy

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andrew Dunstan 2011-01-23 16:06:11 Re: Perl 5.12 complains about ecpg parser-hacking scripts
Previous Message Christian Ullrich 2011-01-23 15:02:11 Re: SSPI client authentication in non-Windows builds