Re: Problem linking libecpg.5.3.dylib on OS X

Поиск
Список
Период
Сортировка
От Michael Meskes
Тема Re: Problem linking libecpg.5.3.dylib on OS X
Дата
Msg-id 20070112095428.GB28403@feivel.credativ.de
обсуждение исходный текст
Ответ на Re: Problem linking libecpg.5.3.dylib on OS X  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Thu, Jan 11, 2007 at 10:47:32PM -0500, Tom Lane wrote:
> Actually I'd suggest that using an exported variable at all is probably
> bad style.  I'd suggest that libecpg export a set() function instead:
> ...

I think I found an easier solution. With my latest commit ecpg uses a
#define to set a different debug level and the lib sets the regression
flags according to that level. This still needs a global variable in the
library but it is not accessed from the outside.

Hopefully this works on all archs.

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 по дате отправления:

Предыдущее
От: "Zeugswetter Andreas ADI SD"
Дата:
Сообщение: Re: share info between backends
Следующее
От: Michael Meskes
Дата:
Сообщение: Re: [COMMITTERS] pgsql: Stamp major release 8.3.0,