> > For example, one could use user-locks for processing incoming
> > orders by multiple operators:
> > select * from orders where user_lock(orders.oid) = 1 LIMIT 1
> > - so each operator would lock one order for processing and
> > operators wouldn't block each other. So, could such
> > application be commercial with current licence of
> > user_lock()? (Sorry, I'm not licence guru.)
> 
> I assume any code that uses contrib/userlock has to be GPL'ed,
> meaning it can be used for commercial purposes but can't be sold
> as binary-only, and actually can't be sold for much because you
> have to make the code available for near-zero cost.

I'm talking not about solding contrib/userlock separately, but
about ability to sold applications which use contrib/userlock.
Sorry, if it was not clear.

Vadim

Thu, 23 Aug 2001 16:01:16 -0700
"Mikheev, Vadim" <vmikheev@SECTORBASE.COM>
RE: User locks code
> > > For example, one could use user-locks for processing incoming
> > > orders by multiple operators:
> > > select * from orders where user_lock(orders.oid) = 1 LIMIT 1
> > > - so each operator would lock one order for processing and
> > > operators wouldn't block each other. So, could such
> > > application be commercial with current licence of
> > > user_lock()? (Sorry, I'm not licence guru.)
> > 
> > I assume any code that uses contrib/userlock has to be GPL'ed,
> > meaning it can be used for commercial purposes but can't be sold
> > as binary-only, and actually can't be sold for much because you
> > have to make the code available for near-zero cost.
> 
> I'm talking not about solding contrib/userlock separately, but
> about ability to sold applications which use contrib/userlock.
> Sorry, if it was not clear.

No, you were clear.  My assumption is that once you link that code into
the backend, the entire backend is GPL'ed and any other application code
you link into it is also (stored procedures, triggers, etc.)  I don't
think your client application will be GPL'ed, assuming you didn't link
in libreadline.

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

Thu, 23 Aug 2001 19:04:28 -0400 (EDT)
Bruce Momjian <pgman@candle.pha.pa.us>
Re: User locks code