Re: PQnotifies() in 7.3 broken? - Mailing list pgsql-hackers

From Oliver Elphick
Subject Re: PQnotifies() in 7.3 broken?
Date
Msg-id 1039897221.7638.13.camel@linda.lfix.co.uk
Whole thread Raw
In response to Re: PQnotifies() in 7.3 broken?  (Bruce Momjian <pgman@candle.pha.pa.us>)
List 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.solibpq.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.Elphick@lfix.co.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 
 



pgsql-hackers by date:

Previous
From: "Dave Page"
Date:
Subject: Re: Information schema now available
Next
From: Kevin Brown
Date:
Subject: Re: [GENERAL] PostgreSQL Global Development Group