Re: Not *quite* there on ecpg fixes - Mailing list pgsql-hackers

From Michael Meskes
Subject Re: Not *quite* there on ecpg fixes
Date
Msg-id 20071004175053.GA28981@feivel.credativ.de
Whole thread Raw
In response to Re: Not *quite* there on ecpg fixes  (Alvaro Herrera <alvherre@commandprompt.com>)
Responses Re: Not *quite* there on ecpg fixes
List pgsql-hackers
On Thu, Oct 04, 2007 at 12:35:29PM -0400, Alvaro Herrera wrote:
> The libpq exports.txt has spaces, not tabs, as separators.  In fact, if
> you see the .def files you notice that the generated files for ecpg are
> all wrong.

Right, that's it. 

> Simplest is to change tabs to spaces ... However I'm thinking that maybe
> it's better to change the sed line to consider both spaces and tabs in
> the regex.

I'm not sure how portable sed scripts containing tabs are, so I simply
replaced the tabs in those export files by white spaces. Hopefully
that'll do it.

Michael
-- 
Michael Meskes
Email: Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org)
ICQ: 179140304, AIM/Yahoo: michaelmeskes, Jabber: meskes@jabber.org
Go SF 49ers! Go Rhein Fire! Use Debian GNU/Linux! Use PostgreSQL!


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: uh-oh, dugong failing again
Next
From: Tom Lane
Date:
Subject: Re: Not *quite* there on ecpg fixes