Hello,
i've been reading the README file in the lmgr folder (in src/backend/storage/lmgr/) 
and i have a couple of questions about locks:
  - What's the difference between the Lightweight Locks (LWLocks) and the Regular 
locks (Heavyweight Locks)? For example, if i do a query and it needs a lock, would  it 
be a lightweight one or a regular one?

  - There are two lock methods, DEFAULT and USER. Where can I get more information 
about them? In the README file it says that "USER locks are non-blocking", how could 
this be?

Thank you very much!


____________________________________________________________
http://webmail.wanadoo.es. Tu correo gratuito, rápido y en español


---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?

               http://www.postgresql.org/docs/faqs/FAQ.html

Reply via email to