pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Arthurs <tarthurs@jobflash.com>
To: pgsql-jdbc@postgresql.org
Subject: Where does meta-data come from?
Date: Wed, 29 Mar 2006 14:13:48 -0800
Message-ID: <442B069C.3050203@jobflash.com> (raw)

We are running into a strange problem -- one of our developers is 
extracting meta-data from our data base, and is seeing a difference in 
the data that is being returned.  Columns typed as int or int4 are 
returning smallint from the meta-data information through jdbc, but if 
we go in and look at the tables through \d in the command line client, 
it is correctly typed as int.  This started happening after we upgraded 
to 8.1.3 and after issuing alter table commands to create primary keys. 
(one data base was fine after the upgrade -- yesterday, but today, after 
creation of primary keys, is now giving us the wrong int type).

I'd like to know where jdbc is getting this information, so I can try to 
track down the cause.

TIA.



view thread (6+ messages)  latest in thread

Message-ID: <442B069C.3050203@jobflash.com>
Permalink:  ../442B069C.3050203@jobflash.com/
Also on:    postgresql.org/message-id/442B069C.3050203@jobflash.com

 · 

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: tarthurs@jobflash.com
  Subject: Re: Where does meta-data come from?
  In-Reply-To: <442B069C.3050203@jobflash.com>
  References: <442B069C.3050203@jobflash.com>

* 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