Return-Path: owner-postman Received: from localhost.Berkeley.EDU (localhost.Berkeley.EDU [127.0.0.1]) by nobozo.CS.Berkeley.EDU (8.6.4/8.6.3) with SMTP id OAA06798 for postgres-redist; Thu, 4 Aug 1994 14:58:59 -0700 Resent-From: POSTGRES mailing list Resent-Message-Id: <199408042158.OAA06798@nobozo.CS.Berkeley.EDU> X-Authentication-Warning: nobozo.CS.Berkeley.EDU: Host localhost.Berkeley.EDU didn't use HELO protocol Sender: owner-postman@postgres.Berkeley.EDU X-Return-Path: owner-postman Received: from outland.oec.com (outland.oec.com [198.3.137.99]) by nobozo.CS.Berkeley.EDU (8.6.4/8.6.3) with SMTP id OAA06788 for ; Thu, 4 Aug 1994 14:58:58 -0700 Received: by outland.oec.com (1.37.109.4/16.2) id AA05011; Thu, 4 Aug 94 17:57:58 -0400 Date: Thu, 4 Aug 1994 17:57:57 -0400 (EDT) From: Stewart Allen Subject: gleaning the database structure To: Postgres Group Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Resent-To: postgres-redist@postgres.Berkeley.EDU Resent-Date: Thu, 04 Aug 94 14:58:59 -0700 Resent-XMts: smtp Is there a simple set of queries which would provide basic table/column structure information within a database? I've poured over all the .ps documents that came with 4.0x and the pg_ structures listed there do not exactly match those used by the system. In Informix this information is simply defined in systables and syscolumns. I've also encountered problems when searching on the oid. Actually, I've been completely unable to do it. Whether using the built in operators or just "table.oid = xxx" it fails with a error about explicit casts and defining operators for oid and int4 (aren't the built-in operators supposed to do this?). I guess one basic question arises from this: - where do I get better information about oid's, casts, etc? The FAQ is only minimally useful and I've read all of the available documentation several times (or maybe I haven't, but I've tried to be diligent in my research). -- Stewart Allen (stewart@oec.com) ============================================================================== To add/remove yourself to/from the POSTGRES mailing list: send mail with the subject line ADD or DEL to "postgres-request@postgres.Berkeley.EDU" If this fails, send mail to "post_questions@postgres.Berkeley.EDU" and a human will deal with it. DO NOT post to the "postgres" mailing list. ==============================================================================