Skip site navigation (1) Skip section navigation (2)

Re: Locks, more complicated than I orginally thought

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: chumphries(at)devis(dot)com
Cc: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Locks, more complicated than I orginally thought
Date: 2002-01-28 16:57:07
Message-ID: 20912.1012237027@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-hackers
Chris Humphries <chumphries(at)devis(dot)com> writes:
>      Now my question is that, would it be "ok" to have a locks
>   linked list that held all the locks, and their information
>   in the function calls that make the lock?

Huh?  The lock manager keeps lists that show all the locks held by a
given process.  These data structures are even rather better documented
than is usual for Postgres: src/backend/storage/lmgr/README.

			regards, tom lane

In response to

pgsql-hackers by date

Next:From: Tom LaneDate: 2002-01-28 20:27:41
Subject: Improving backend launch time by preloading relcache
Previous:From: Bruce MomjianDate: 2002-01-28 12:03:24
Subject: Re: FAQ errata

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group