Re: libpq_r

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: Larry Rosenman <ler(at)lerctr(dot)org>, Lee Kindness <lkindness(at)csl(dot)co(dot)uk>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, PostgreSQL Development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: libpq_r
Date: 2003-07-24 20:30:14
Message-ID: 200307242030.h6OKUEh25801@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Peter Eisentraut wrote:
> Larry Rosenman writes:
>
> > I beg to differ. Explicitly, on UnixWare, the <errno.h> header,
> > reproduced below, under fair use, show an EXPLICIT difference in what
> > happens with _REENTRANT:
>
> Hmm, I was too optimistic. I guess we'll just have to handcraft a
> different solution for each platform. But clearly on some platforms we'll
> need a libpq_r, so for the reasons I outlined in my initial post, it'd be
> good to provide one on all platforms.

I still think it is confusing to create a libpq_r on platforms that have
no _r libraries. I am on BSD/OS and I can find only _r library on my
entire system, and guess who make that one:

/usr/contrib/lib/mysql/libmysqlclient_r.a

and they actually have two different libraries:

-rwxr-xr-x 1 root wheel 127413 Jun 5 2001 /usr/contrib/lib/mysql/libmysqlclient.so.10.0.0*
-rwxr-xr-x 1 root wheel 144471 Jun 5 2001 /usr/contrib/lib/mysql/libmysqlclient_r.so.10.0.0*

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

  • Re: libpq_r at 2003-07-24 16:00:01 from Peter Eisentraut

Responses

  • Re: libpq_r at 2003-07-24 20:35:02 from Larry Rosenman
  • Re: libpq_r at 2003-07-25 09:23:05 from Peter Eisentraut

Browse pgsql-hackers by date

  From Date Subject
Next Message Larry Rosenman 2003-07-24 20:35:02 Re: libpq_r
Previous Message Marcus Brger 2003-07-24 20:24:52 Re: php with postgres