Re: Table locks

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: Dale Anderson <danderso(at)crystalsugar(dot)com>, pgsql-general(at)postgreSQL(dot)org
Subject: Re: Table locks
Date: 2000-10-09 18:41:03
Message-ID: 26135.971116863@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)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?

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Bruce Momjian 2000-10-09 18:42:37 Re: Win98
Previous Message Bruce Momjian 2000-10-09 18:25:05 Re: Table locks