Thread: dirty reads

dirty reads

From
Josh Close
Date:
Is there a way to do "dirty" reads on postgres?

If there is an insert of a million records or so, is there a way to
select from those records before it's committed?

-Josh

Re: dirty reads

From
Bruce Momjian
Date:
Josh Close wrote:
> Is there a way to do "dirty" reads on postgres?
>
> If there is an insert of a million records or so, is there a way to
> select from those records before it's committed?

By your transaction, sure, by another, no.

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073