Re: AW: Re: postgres TODO - Mailing list pgsql-hackers

From Philip Warner
Subject Re: AW: Re: postgres TODO
Date
Msg-id 3.0.5.32.20000711001432.02511210@mail.rhyme.com.au
Whole thread Raw
In response to AW: Re: postgres TODO  (Zeugswetter Andreas SB <ZeugswetterA@wien.spardat.at>)
List 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   |/


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Re: [BUGS] Unnexpected results using to_number()
Next
From: Mike Mascari
Date:
Subject: Re: Re: [GENERAL] PostgreSQL vs. MySQL