Re: Not *quite* there on ecpg fixes

Поиск
Список
Период
Сортировка
От Michael Meskes
Тема Re: Not *quite* there on ecpg fixes
Дата
Msg-id 20071004175053.GA28981@feivel.credativ.de
обсуждение исходный текст
Ответ на Re: Not *quite* there on ecpg fixes  (Alvaro Herrera <alvherre@commandprompt.com>)
Ответы Re: Not *quite* there on ecpg fixes  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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 по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: uh-oh, dugong failing again
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Not *quite* there on ecpg fixes