pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: raptor <raptor@unacs.bg>
Cc: 'pgsql-sql@postgresql.org' <pgsql-sql@postgreSQL.org>
Subject: Re: [SQL] OID & indexes.
Date: Tue, 21 Sep 1999 11:10:30 -0400
Message-ID: <21907.937926630@sss.pgh.pa.us> (raw)
In-Reply-To: <37E7FF29.1BB059BC@unacs.bg>

raptor <raptor@unacs.bg> writes:
> Is the OID fileld indexed and if not can I create index on it.

No, and yes.  OID is just like any regular column as far as
indexing is concerned.  You should make an index on it if you
plan to do lots of 'WHERE oid = something' queries.

			regards, tom lane



view thread (4+ messages)  latest in thread

Message-ID: <21907.937926630@sss.pgh.pa.us>
Permalink:  ../21907.937926630@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/21907.937926630@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-sql@postgresql.org
  Cc: tgl@sss.pgh.pa.us, raptor@unacs.bg
  Subject: Re: [SQL] OID & indexes.
  In-Reply-To: <21907.937926630@sss.pgh.pa.us>
  References: <37E7FF29.1BB059BC@unacs.bg> <21907.937926630@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox