X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 7E159329EE9 for ; Wed, 6 Oct 2004 22:46:11 +0100 (BST) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 57880-10 for ; Wed, 6 Oct 2004 21:46:05 +0000 (GMT) Received: from hermes.mazda.com.co (mail.mazda.com.co [200.31.14.131]) by svr1.postgresql.org (Postfix) with ESMTP id ABC1932A2AD for ; Wed, 6 Oct 2004 22:46:00 +0100 (BST) Received: from localhost (localhost.localdomain [127.0.0.1]) by hermes.mazda.com.co (Postfix) with ESMTP id CA96D6EF3E for ; Wed, 6 Oct 2004 16:48:46 -0500 (COT) Received: from zeus.mazda.com.co (zeus.mazda.com.co [172.16.2.2]) by hermes.mazda.com.co (Postfix) with ESMTP id 4C66D6EF34 for ; Wed, 6 Oct 2004 16:48:46 -0500 (COT) Received: from localhost (localhost.localdomain [127.0.0.1]) by zeus.mazda.com.co (Postfix) with ESMTP id 5BB8BFD867 for ; Wed, 6 Oct 2004 16:47:28 -0500 (COT) Received: from kmarcos (unknown [172.16.2.119]) by zeus.mazda.com.co (Postfix) with ESMTP id C8864FD866 for ; Wed, 6 Oct 2004 16:47:27 -0500 (COT) Reply-To: From: "Katalina Marcos" To: Subject: table and column's comments Date: Wed, 6 Oct 2004 16:47:26 -0500 Organization: =?us-ascii?Q?Compania_Colombiana_automotriz_S.A?= Message-ID: <000001c4abee$11f40f30$770210ac@kmarcos> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0001_01C4ABC4.291E0730" X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.6626 Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4927.1200 X-Virus-Scanned: by AMaViS perl-11 X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.3 tagged_above=0.0 required=5.0 tests=HTML_FONTCOLOR_BLUE, HTML_FONTCOLOR_UNKNOWN, HTML_FONTCOLOR_UNSAFE, HTML_MESSAGE X-Spam-Level: X-Archive-Number: 200410/30 X-Sequence-Number: 11135 This is a multi-part message in MIME format. ------=_NextPart_000_0001_01C4ABC4.291E0730 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Hi all! I want to ask you if I can retrieve table's comment and column's comments whit ResultSetMetaData in pgjdbc. I did prove with a simple query ("select * from ca_t_nivel where 1=0") but table name is empty and column label is the same column name. I did use pg74.213.jdbc3.jar, my output: table name column number: 1 column name: tpl_nivel_conshist column label: tpl_nivel_conshist column type: 4 column classname: java.lang.Integer column display size: 11 column number: 2 column name: td_nivel_fechoper column label: td_nivel_fechoper column type: 93 column classname: java.sql.Timestamp column display size: 22 I've searched in mail list but I didn't found much about it. Thanks in advance. Kata ------=_NextPart_000_0001_01C4ABC4.291E0730 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hi all!

 

I want to ask you if I can retrieve table’s comment and column’s comments whit ResultSetMetaData in pgjdbc.

 

I did prove with a simple query ("sele= ct * from ca_t_nivel where 1=3D0") but table name is empty and co= lumn label is the same column name… I did use pg74.213.jdbc3.jar, my outpu= t:

 

table name

column number: 1

column name: tpl_nivel_conshist<= /p>

column label: tpl_nivel_conshist=

column type: 4

column classname: java.lang.Integer

column display size: 11

column number: 2

column name: td_nivel_fechoper

column label: td_nivel_fechoper<= /p>

column type: 93

column classname: java.sql.Timestamp

column display size: 22

 

I’v= e searched in mail list but I didn’t found much about it…

 

Thanks in= advance…

Kata

------=_NextPart_000_0001_01C4ABC4.291E0730--