Re: AW: Re: postgres TODO

From: Philip Warner <pjw(at)rhyme(dot)com(dot)au>
To: Zeugswetter Andreas SB <ZeugswetterA(at)wien(dot)spardat(dot)at>, "'pgsql-hackers(at)postgresql(dot)org'" <pgsql-hackers(at)postgresql(dot)org>, Alessio Bragadini <alessio(at)albourne(dot)com>
Subject: Re: AW: Re: postgres TODO
Date: 2000-07-10 14:14:32
Message-ID: 3.0.5.32.20000711001432.02511210@mail.rhyme.com.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

At 15:58 10/07/00 +0200, Zeugswetter Andreas SB wrote:
>
>OID access is not indexed by default, only if the dba created a
>corresponding
>index. Thus OID access is a seq scan in a default environment.
>

Sticking my head out even further, this seems like a good reason to use
'insert/update...returning' - isn't the tuple already on the heap, and
easily available at the end of the insert/update?

----------------------------------------------------------------
Philip Warner | __---_____
Albatross Consulting Pty. Ltd. |----/ - \
(A.C.N. 008 659 498) | /(@) ______---_
Tel: (+61) 0500 83 82 81 | _________ \
Fax: (+61) 0500 83 82 82 | ___________ |
Http://www.rhyme.com.au | / \|
| --________--
PGP key available upon request, | /
and from pgp5.ai.mit.edu:11371 |/

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2000-07-10 14:26:30 Re: More info
Previous Message Tom Lane 2000-07-10 14:12:46 Re: Re: [BUGS] Unnexpected results using to_number()