pg.ddx.io  pgsql-docs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: matt <vagnoni@uiuc.edu>
To: pgsql-docs@postgresql.org
Subject: Re: Getting Metadata
Date: Thu, 18 Apr 2002 19:36:47 -0500
Message-ID: <008401c1e73a$49cf0cf0$b9d47e82@puckster> (raw)
References: <200204161939.g3GJdUf29820@candle.pha.pa.us>

I need to be able to do this-

array columns = QUERY metadata ON table_name RETURN column_names;

That is, I am not sure how to query the metatables.  I need to get all the
column names for a given table (I'll have the name of the table) and put
that into an array, so I can access it while I am exporting the data from a
table.

I need to couple the col_name with the data for each column, to get my XML
extention to the copy command to work.

thanks
matt





view thread (3+ messages)  latest in thread

Message-ID: <008401c1e73a$49cf0cf0$b9d47e82@puckster>
Permalink:  ../008401c1e73a$49cf0cf0$b9d47e82@puckster/
Also on:    postgresql.org/message-id/008401c1e73a$49cf0cf0$b9d47e82@puckster

 · 

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: vagnoni@uiuc.edu
  Subject: Re: Getting Metadata
  In-Reply-To: <008401c1e73a$49cf0cf0$b9d47e82@puckster>

* 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