Received: from ux5.cso.uiuc.edu (ux5.cso.uiuc.edu [128.174.5.45]) by postgresql.org (Postfix) with ESMTP id 6462D475991 for ; Thu, 18 Apr 2002 20:38:43 -0400 (EDT) Received: from puckster (isr6207.urh.uiuc.edu [130.126.212.185]) by ux5.cso.uiuc.edu (8.11.0/8.11.0) with SMTP id g3J0ckN00141 for ; Thu, 18 Apr 2002 19:38:46 -0500 (CDT) Message-ID: <008401c1e73a$49cf0cf0$b9d47e82@puckster> From: "matt" To: References: <200204161939.g3GJdUf29820@candle.pha.pa.us> Subject: Re: Getting Metadata Date: Thu, 18 Apr 2002 19:36:47 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Archive-Number: 200204/29 X-Sequence-Number: 1354 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