Skip site navigation (1) Skip section navigation (2)

Re: Not *quite* there on ecpg fixes

From: Michael Meskes <meskes(at)postgresql(dot)org>
To: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
Cc: Andrew Dunstan <andrew(at)dunslane(dot)net>,Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Michael Meskes <meskes(at)postgresql(dot)org>,Magnus Hagander <magnus(at)hagander(dot)net>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Not *quite* there on ecpg fixes
Date: 2007-10-04 17:50:53
Message-ID: 20071004175053.GA28981@feivel.credativ.de (view raw or flat)
Thread:
Lists: 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(at)jabber(dot)org
Go SF 49ers! Go Rhein Fire! Use Debian GNU/Linux! Use PostgreSQL!

In response to

Responses

pgsql-hackers by date

Next:From: Tom LaneDate: 2007-10-04 18:12:14
Subject: Re: Not *quite* there on ecpg fixes
Previous:From: Tom LaneDate: 2007-10-04 17:47:28
Subject: Re: uh-oh, dugong failing again

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group