Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id C08484765FE for ; Mon, 16 Sep 2002 13:40:58 -0400 (EDT) Received: from candle.pha.pa.us (momjian.navpoint.com [207.106.42.251]) by postgresql.org (Postfix) with ESMTP id CFDB7476555 for ; Mon, 16 Sep 2002 13:40:46 -0400 (EDT) Received: (from pgman@localhost) by candle.pha.pa.us (8.11.6/8.10.1) id g8GH28u20232; Mon, 16 Sep 2002 13:02:08 -0400 (EDT) From: Bruce Momjian Message-Id: <200209161702.g8GH28u20232@candle.pha.pa.us> Subject: Re: Do the datatypes have set id/oid that are constant? In-Reply-To: To: Mark Worsdall Date: Mon, 16 Sep 2002 13:02:08 -0400 (EDT) Cc: pgsql-sql@postgresql.org X-Mailer: ELM [version 2.4ME+ PL99 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200209/184 X-Sequence-Number: 9461 Mark Worsdall wrote: > Hi, > > When I do a \dT I get a list of the postgres datatypes, is there a SQL > version of \dT and can one get the oid's for this list? Use 'psql -E' to see the \dT query, and add the oid. -- 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