Re: Table locks - Mailing list pgsql-general

From Bruce Momjian
Subject Re: Table locks
Date
Msg-id 200010091847.OAA02137@candle.pha.pa.us
Whole thread Raw
In response to Re: Table locks  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
> Bruce Momjian <pgman@candle.pha.pa.us> writes:
> > No spinlock.  I was going to just grab a snapshot as it existed.  If it
> > changes while I am grabbing it, I just try again.
>
> Unless, of course, you follow a now-dangling pointer and cause a backend
> crash.  But even without that, how do you know whether you grabbed a
> self-consistent snapshot or not?

Not sure, yet...

--
  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

pgsql-general by date:

Previous
From: "Martin A. Marques"
Date:
Subject: Re: Win98
Next
From: Travis Bauer
Date:
Subject: Lock problem on Solaris