Re: PQnotifies() in 7.3 broken?

From: Oliver Elphick <olly(at)lfix(dot)co(dot)uk>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, PostgreSQL-development <pgsql-hackers(at)postgreSQL(dot)org>, Peter Eisentraut <peter_e(at)gmx(dot)net>, Fernando Nasser <fnasser(at)redhat(dot)com>, Lee Kindness <lkindness(at)csl(dot)co(dot)uk>
Subject: Re: PQnotifies() in 7.3 broken?
Date: 2002-12-14 20:20:22
Message-ID: 1039897221.7638.13.camel@linda.lfix.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Sat, 2002-12-14 at 18:59, Bruce Momjian wrote:
> OK, I have updated the libpq major number in 7.3.X, and updated major
> and minor in HEAD. Do I need to increment the other interfaces that
> _use_ libpq, like ecpg? I think so.

I don't think so.

$ ldd /usr/lib/postgresql/lib/libecpg.so
libpq.so.2 => /usr/lib/libpq.so.2 (0x40019000)
libc.so.6 => /lib/libc.so.6 (0x4002e000)
libssl.so.0.9.6 => /usr/lib/i686/libssl.so.0.9.6 (0x40141000)
libcrypto.so.0.9.6 => /usr/lib/i686/libcrypto.so.0.9.6 (0x4016e000)
libkrb5.so.17 => /usr/lib/libkrb5.so.17 (0x40226000)
libcrypt.so.1 => /lib/libcrypt.so.1 (0x4025c000)
libresolv.so.2 => /lib/libresolv.so.2 (0x40289000)
libnsl.so.1 => /lib/libnsl.so.1 (0x4029a000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)
libdl.so.2 => /lib/libdl.so.2 (0x402ad000)
libcom_err.so.1 => /usr/lib/libcom_err.so.1 (0x402b0000)
libasn1.so.5 => /usr/lib/libasn1.so.5 (0x402b2000)
libroken.so.9 => /usr/lib/libroken.so.9 (0x402d2000)
libdb3.so.3 => /usr/lib/libdb3.so.3 (0x402e3000)

Here libecpg will look for libpq.so.2. When 7.3.1 is released, this
libecpg will be replaced by one that looks for libpq.so.3. But I think
that, unless the API of libecpg changes, its version should stay the
same.

If you change it with libpq, you must also change it with all the other
libraries it links in, like libkrb5 and libdb3. That is clearly
impracticable.

--
Oliver Elphick Oliver(dot)Elphick(at)lfix(dot)co(dot)uk
Isle of Wight, UK http://www.lfix.co.uk/oliver
GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839 932A 614D 4C34 3E1D 0C1C
========================================
"But I will hope continually, and will yet praise thee
more and more." Psalms 71:14

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2002-12-14 23:37:01 Re: Patch for DBD::Pg pg_relcheck problem
Previous Message Dave Page 2002-12-14 19:58:33 Re: Information schema now available