> > > 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
  [EMAIL PROTECTED]               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?

http://www.postgresql.org/search.mpl

Reply via email to