pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Katalina Marcos <kmarcos@mazda.com.co>
To: pgsql-jdbc@postgresql.org
Subject: table and column's comments
Date: Wed, 6 Oct 2004 16:47:26 -0500
Message-ID: <000001c4abee$11f40f30$770210ac@kmarcos> (raw)

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

view thread (5+ messages)  latest in thread

Message-ID: <000001c4abee$11f40f30$770210ac@kmarcos>
Permalink:  ../000001c4abee$11f40f30$770210ac@kmarcos/
Also on:    postgresql.org/message-id/000001c4abee$11f40f30$770210ac@kmarcos

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: kmarcos@mazda.com.co
  Subject: Re: table and column's comments
  In-Reply-To: <000001c4abee$11f40f30$770210ac@kmarcos>
  References: <000001c4abee$11f40f30$770210ac@kmarcos>

* 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