Re: Perl 5.12 complains about ecpg parser-hacking scripts - Mailing list pgsql-hackers

From Michael Meskes
Subject Re: Perl 5.12 complains about ecpg parser-hacking scripts
Date
Msg-id 20110123111138.GA18922@feivel.credativ.lan
Whole thread Raw
In response to Re: Perl 5.12 complains about ecpg parser-hacking scripts  (Andrew Dunstan <andrew@dunslane.net>)
Responses Re: Perl 5.12 complains about ecpg parser-hacking scripts  (Andrew Dunstan <andrew@dunslane.net>)
Re: Perl 5.12 complains about ecpg parser-hacking scripts  (Andy Colson <andy@squeakycode.net>)
List pgsql-hackers
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.

As I already said when the script was introduced, I would love to have a real
perl solution, but I'm not a perl programmer by any means.

Michael
-- 
Michael Meskes
Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org)
Michael at BorussiaFan dot De, Meskes at (Debian|Postgresql) dot Org
Jabber: michael.meskes at googlemail dot com
VfL Borussia! Força Barça! Go SF 49ers! Use Debian GNU/Linux, PostgreSQL


pgsql-hackers by date:

Previous
From: Magnus Hagander
Date:
Subject: Re: sepgsql contrib module
Next
From: Magnus Hagander
Date:
Subject: Re: pg_basebackup for streaming base backups