X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (neptune.hub.org [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 7DF59D1B507 for ; Thu, 18 Dec 2003 20:41:32 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 78957-07 for ; Thu, 18 Dec 2003 16:40:45 -0400 (AST) Received: from cosrnt003.spm.com.ar (unknown [200.51.94.70]) by svr1.postgresql.org (Postfix) with SMTP id 94468D1B4B3 for ; Thu, 18 Dec 2003 16:40:40 -0400 (AST) Received: from MAILMASTER.aetna.com.ar ([192.168.127.11]) by cosrnt003.spm.com.ar (SAVSMTP 3.1.2.35) with SMTP id M2003121817401416956 ; Thu, 18 Dec 2003 17:40:14 -0300 Received: by MAILSRV_B with Internet Mail Service (5.5.2655.55) id ; Thu, 18 Dec 2003 17:34:00 -0300 Message-ID: <069B887B914BD51180420004AC33E2E81024CFFE@MAILSRV_B> From: Sergio Pili To: 'Terry Hampton' , pgsql-admin@postgresql.org Subject: Re: Quick Question Please Date: Thu, 18 Dec 2003 17:33:58 -0300 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2655.55) Content-Type: text/plain X-Virus-Scanned: by amavisd-new at postgresql.org X-Spam-Status: No, hits=0.7 tagged_above=0.0 required=5.0 tests=QUOTED_EMAIL_TEXT, RCVD_IN_RFCI X-Spam-Level: X-Archive-Number: 200312/262 X-Sequence-Number: 11768 In psql: \d [table name] Regards, Sergio Pili > -----Mensaje original----- > De: Terry Hampton [SMTP:thampton@limacorp.com] > Enviado el: Jueves 18 de Diciembre de 2003 17:31 > Para: pgsql-admin@postgresql.org > Asunto: [ADMIN] Quick Question Please > > > All, > > Seem to be having a brain lock. > > What is the method or syntax to return > a list of column names for a given table name ? > > many thanks for your quick help, > Terry > > > > -- > Terry L. Hampton > Program Manager > LimaCorp, LLC. www.limacorp.com > 513.587.1874 > > > > ---------------------------(end of broadcast)--------------------------- > TIP 8: explain analyze is your friend