Re: uuid type for postgres
| От | nathan wagner | 
|---|---|
| Тема | Re: uuid type for postgres | 
| Дата | |
| Msg-id | 20050907051508.GA3572@granicus.if.org обсуждение исходный текст  | 
		
| Ответ на | Re: uuid type for postgres (Paul Ramsey <pramsey@refractions.net>) | 
| Ответы | 
                	
            		Re: uuid type for postgres
            		
            		 | 
		
| Список | pgsql-hackers | 
On Tue, Sep 06, 2005 at 08:40:08PM -0700, pramsey@refractions.net wrote:
> - linking against libuuid is fine for a contrib/ extension, but no  
> good for a built-in type.  A real uuid would have to do a proper  
> independent implementation of uuid creation within pgsql.
Why?
I'm not sure what the default build instructions are, but i've got
the following on my linux box...
granicus:~% ldd /usr/bin/postgres       linux-gate.so.1 =>  (0x00368000)       libpam.so.0 => /lib/libpam.so.0
(0x00311000)      libssl.so.5 => /lib/libssl.so.5 (0x009b3000)       libcrypto.so.5 => /lib/libcrypto.so.5 (0x00507000)
     libkrb5.so.3 => /usr/lib/libkrb5.so.3 (0x003ab000)       libz.so.1 => /usr/lib/libz.so.1 (0x00c55000)
libreadline.so.5=> /usr/lib/libreadline.so.5 (0x00c6a000)       libtermcap.so.2 => /lib/libtermcap.so.2 (0x00dfa000)
  libcrypt.so.1 => /lib/libcrypt.so.1 (0x009f7000)       libresolv.so.2 => /lib/libresolv.so.2 (0x0014e000)
libnsl.so.1=> /lib/libnsl.so.1 (0x00a62000)       libdl.so.2 => /lib/libdl.so.2 (0x00c4f000)       libm.so.6 =>
/lib/libm.so.6(0x00c29000)       libc.so.6 => /lib/libc.so.6 (0x00afd000)       libcom_err.so.2 => /lib/libcom_err.so.2
(0x0038e000)      libgssapi_krb5.so.2 => /usr/lib/libgssapi_krb5.so.2 (0x0099a000)       libk5crypto.so.3 =>
/usr/lib/libk5crypto.so.3(0x00483000)       /lib/ld-linux.so.2 (0x00adf000)       libkrb5support.so.0 =>
/usr/lib/libkrb5support.so.0(0x0041f000)
 
Quite a list.  I wonder what readline is doing there.
It would appear that linking against libraries is just fine, I don't
see that uuid is any different.
> - we cannot snarf libuuid code, it is LGPL (though perhaps the author  
> would re-license. if that is the *only* objection, it is well worth  
> asking)
Not sure what uuid library you were using, but the one i used
is not LGPL.  I posted earlier the copyright and license portion of
the readme.  No relicensing would be necessary.
-- 
Nathan Wagner
		
	В списке pgsql-hackers по дате отправления: