RE: User locks code - Mailing list pgsql-hackers

From Mikheev, Vadim
Subject RE: User locks code
Date
Msg-id 3705826352029646A3E91C53F7189E32016753@sectorbase2.sectorbase.com
Whole thread Raw
In response to User locks code  ("Mikheev, Vadim" <vmikheev@SECTORBASE.COM>)
List pgsql-hackers
> > 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) ?

Yes, this is what bothers me in user-lock case.
On the other hand contrib/user-lock' licence
cannot cover usage of LOCKTAG and LockAcquire
(because of this code is from backend) and this is
all what used in user_lock funcs. So, that licence
is unenforceable to everything... except of func names -:)

Vadim


pgsql-hackers by date:

Previous
From: Amandeep Singh
Date:
Subject: Re: ERP Applications on Postgresql -- ERPTool
Next
From: "Mikheev, Vadim"
Date:
Subject: RE: [OT] Re: User locks code