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 E524C32A1CF for ; Wed, 6 Oct 2004 23:11:34 +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 65720-07 for ; Wed, 6 Oct 2004 22:11:27 +0000 (GMT) Received: from yass.opencloud.co.nz (yass.opencloud.co.nz [203.79.85.162]) by svr1.postgresql.org (Postfix) with ESMTP id D00C932A101 for ; Wed, 6 Oct 2004 23:11:28 +0100 (BST) Received: from 203-79-104-60.cable.paradise.net.nz ([203.79.104.60] helo=opencloud.com) by yass.opencloud.co.nz with asmtp (Exim 3.35 #1 (Debian)) id 1CFK0D-0002Yg-00; Thu, 07 Oct 2004 11:11:17 +1300 Message-ID: <41646D82.1000902@opencloud.com> Date: Thu, 07 Oct 2004 11:11:14 +1300 From: Oliver Jowett User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: kmarcos@mazda.com.co Cc: pgsql-jdbc@postgresql.org Subject: Re: table and column's comments References: <000001c4abee$11f40f30$770210ac@kmarcos> In-Reply-To: <000001c4abee$11f40f30$770210ac@kmarcos> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200410/31 X-Sequence-Number: 11136 Katalina Marcos wrote: > I want to ask you if I can retrieve table’s comment and column’s > comments whit ResultSetMetaData in pgjdbc. You can't get at the comments via the standard interface; it has no provision for them. The label fields are apparently intended for output formatting, not for comment display. See the discussion at: http://archives.postgresql.org/pgsql-jdbc/2004-07/msg00314.php http://archives.postgresql.org/pgsql-jdbc/2004-08/msg00008.php If you need to get at the comments, you'll need to do a postgresql-specific query. -O