X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id 26D5C11F66CA for ; Wed, 29 Mar 2006 18:55:39 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 53358-05-6 for ; Wed, 29 Mar 2006 18:55:38 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from mail.jobflash.com (mail.jobflash.com [64.62.211.41]) by postgresql.org (Postfix) with ESMTP id 2694511F66C9 for ; Wed, 29 Mar 2006 18:55:37 -0400 (AST) Received: from [192.168.1.64] (adsl-68-125-161-245.dsl.pltn13.pacbell.net [68.125.161.245]) by mail.jobflash.com (Postfix) with ESMTP id 7724242002; Wed, 29 Mar 2006 14:55:37 -0800 (PST) Message-ID: <442B1067.8020602@jobflash.com> Date: Wed, 29 Mar 2006 14:55:35 -0800 From: Tom Arthurs User-Agent: Thunderbird 1.5 (Windows/20051201) MIME-Version: 1.0 To: Kris Jurka Cc: pgsql-jdbc@postgresql.org Subject: Re: Where does meta-data come from? References: <442B069C.3050203@jobflash.com> <442B0D3C.30008@jobflash.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.356 required=5 tests=[AWL=0.356] X-Spam-Score: 0.356 X-Spam-Level: X-Archive-Number: 200603/145 X-Sequence-Number: 14926 oops -- resent to reply to all, sorry about that. ah. It's from inspecting tables, views, etc. He is extracting this to build some objects that he's rolling into classes for persistent objects that's he's rolling into classes. He rebuilds this ever time we make db changes. Thanks for the information below, we can probably get the queries from there and see if we can spot exactly what is changing and why. In late breaking news, the one table that I know for sure is exhibiting this behavior has not changed between yesterday and today, so we are all back to scratching our heads. Kris Jurka wrote: > > > On Wed, 29 Mar 2006, Tom Arthurs wrote: > >> I'm trying to get that information from the developer (he's in >> Toronto, and I'm in San Francisco) but he's using some package to >> accomplish to extract the data, so does not have the queries to >> hand. It may take a while to get that information -- what I was >> hoping for was some information on which system catalogs jdbc queries >> -- if you could even point me to the part of the source that emits >> these queries we could take it from there, I think. In the meantime >> I'll go download the source for the driver and see if I can winkle >> out the queries on my own. >> > > Well, you haven't said what metadata your getting, so it's tough to > say which system catalogs will be involved. There are two main > interfaces for retrieving metadata. That from query results, > ResultSetMetaData and that from just inspecting tables and views, > DatabaseMetaData. These are mostly > implemented in org.postgresql.jdbc2.AbstractJdbc2ResultSetMetaData and > org.postgresql.jdbc2.AbstractJdbc2DatabaseMetaData respectively. > > Kris Jurka >