pg.ddx.io  pgsql-docs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Roberto Mello <rmello@cc.usu.edu>
To: matt <vagnoni@uiuc.edu>
Cc: pgsql-docs@postgresql.org
Subject: Re: Getting Metadata
Date: Thu, 18 Apr 2002 19:35:26 -0600
Message-ID: <20020419013526.GB16915@cc.usu.edu> (raw)
In-Reply-To: <008c01c1e73b$b98cbe60$b9d47e82@puckster>
References: <008c01c1e73b$b98cbe60$b9d47e82@puckster>

On Thu, Apr 18, 2002 at 07:47:04PM -0500, matt wrote:
> That is how do i access pg_attribute within a program?  

With a regular SELECT.
 
> Also, are the columns stored in order within pg_attribute?

Go into psql and type "\d pg_attribute" like any other table.

If you want to see how psql does its internal queries (e.g. when you
run '\d table') run psql with the -E switch.

-Roberto
 
-- 
+----| http://fslc.usu.edu/ USU Free Software & GNU/Linux Club |------+
  Roberto Mello - Computer Science, USU - http://www.brasileiro.net/ 
       http://www.sdl.usu.edu/ - Space Dynamics Lab, Developer    
Newsbytes - Microsoft announce EDLIN for Windows.



view thread (3+ messages)

Message-ID: <20020419013526.GB16915@cc.usu.edu>
Permalink:  ../20020419013526.GB16915@cc.usu.edu/
Also on:    postgresql.org/message-id/20020419013526.GB16915@cc.usu.edu

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-docs@postgresql.org
  Cc: rmello@cc.usu.edu, vagnoni@uiuc.edu
  Subject: Re: Getting Metadata
  In-Reply-To: <20020419013526.GB16915@cc.usu.edu>

* 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