From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | Hannu Krosing <hannu(at)tm(dot)ee> |
Cc: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, "Mikheev, Vadim" <vmikheev(at)SECTORBASE(dot)COM>, Massimo Dal Zotto <dz(at)cs(dot)unitn(dot)it>, PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: User locks code |
Date: | 2001-08-24 14:42:48 |
Message-ID: | 200108241442.f7OEgml29949@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
> Tom Lane wrote:
> >
> > I definitely agree with Vadim here: it's fairly silly that the
> > contrib userlock code is GPL'd, when it consists only of a few dozen
> > lines of wrapper for the real functionality that's in the main backend.
>
I was incorrect in something I said to Vadim. I said stored procedures
would have to be released if linked against a GPL'ed backend. They have
to be released only if they are in C or another object file linked into
the backend. PlpgSQL or SQL functions don't have to be released because
their code is "loaded" into the backend as a script, not existing in the
backend binary or required for the backend to run.
> Maybe it makes Massimo feel good ? It seems a worhty reason to me, as
> he has contributed a lot of useful stuff over the time.
Yes, that is probably it. The GPL doesn't give anything to users, it
takes some control away from users and gives it to the author of the
code.
> I really think that mixing licences inside one program is bad, if not
> for
> any other reason then for confusing people and making them have
> discussions
> like this.
Yes, the weird part is that the BSD license is so lax (don't sue us)
that it is the addition of the GPL that changes the affect of the
license. If you added a BSD license to a GPL'ed piece of code, the
effect would be near zero.
> > Besides, anyone who actually wanted to use the userlock code would need
> > only to write their own wrapper functions to get around the GPL license.
>
> This is a part of copyright law that eludes me - can i write a
> replacement
> function for something so simple that it can essentially be done in one
> way only (like incrementing a value by one) ?
Sure, if you don't cut and paste the code line by line, or retype the
code while staring at the previous version. That is how Berkeley got
unix-free version of the BSD operating system. However, the few places
where they lazily copied got them in trouble.
--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 2001-08-24 14:43:19 | Re: [PATCHES] encoding names |
Previous Message | Peter T Mount | 2001-08-24 14:27:48 | Re: Toast, Text, blob bytea Huh? |