Re: Perl 5.12 complains about ecpg parser-hacking scripts

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: 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 14:35:09
Message-ID: 4D3C3C9D.5010504@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 01/23/2011 06:11 AM, Michael Meskes wrote:
> On Sat, Jan 22, 2011 at 08:40:13PM -0500, Andrew Dunstan wrote:
>> I think these really need to be rewritten from scratch. They look
>> like they were written by someone who never heard of Perl 5 (it's
>> only about 16 years old).
> You might remember that we had this discussion before. The script was written
> in awk and then translated to perl by a2p. We knew that this code was less than
> optimal, but at least it works.

Oh, I'm sorry, I'd totally forgotten that. At least it explains why it
looks like it's from a time warp. I bet the perl guys haven't touched
a2p for many many years.

cheers

andrew

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message XiaoboGu 2011-01-23 15:01:30 答复: [HACKERS] Is there a way to build PostgreSQL client libraries with MinGW
Previous Message Andy Colson 2011-01-23 14:29:20 Re: Perl 5.12 complains about ecpg parser-hacking scripts