AW: AW: AW: [HACKERS] Getting OID in psql of recent insert

From: Zeugswetter Andreas SEV <ZeugswetterA(at)wien(dot)spardat(dot)at>
To: "'pgsql-hackers(at)postgreSQL(dot)org'" <pgsql-hackers(at)postgresql(dot)org>
Subject: AW: AW: AW: [HACKERS] Getting OID in psql of recent insert
Date: 1999-11-23 19:29:11
Message-ID: 219F68D65015D011A8E000006F8590C603FDC18B@sdexcsrv1.f000.d0188.sd.spardat.at
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


> They get the location they ask for, or a failure. Hunting around for
> the new tuple seems like a real waste, and if someone vacuums, it is
> gone, no?

It is probably worse, since they might even get the wrong row,
but that's the same in Informix and Oracle.

In Informix:

a: selects rowid
b: updates row, row grows, does not fit in page, is relocated
c: inserts rows, pysical location of rowid is reused
a: selects row by rowid, gets differet row --> bummer

Andreas

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Lamar Owen 1999-11-23 19:42:30 Re: Mandrake RPMs (was RPM build on Suse linux 6.2)
Previous Message Zeugswetter Andreas SEV 1999-11-23 19:20:32 AW: [HACKERS] Re: SQL statements: begin and end