Re: Database reverse engineering

From: Paul Boddie <paul(at)boddie(dot)org(dot)uk>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Database reverse engineering
Date: 2007-09-16 21:28:40
Message-ID: 1189978120.662629.65090@d55g2000hsg.googlegroups.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 13 Sep, 06:12, Ow(dot)Mun(dot)H(dot)(dot)(dot)(at)wdc(dot)com (Ow Mun Heng) wrote:
> On Mon, 2007-09-10 at 13:00 -0600, RC Gobeille wrote:
> > Or this one:
> >http://schemaspy.sourceforge.net/
>
> Can't seem to get it to connect to PG using the example.
>
> java -jar schemaSpy_3.1.1.jar -t pgsql -u operator -p operator -o
> test_db -host localhost -db test_db

As the end of the error message suggests, you might want to try
something like this:

java -jar schemaSpy_3.1.1.jar -cp postgresql-xxx.jar -t pgsql -u
operator -p operator -o test_db -host localhost -db test_db

The argument for -cp needs to be the full path to the .jar file, and
must obviously use the real filename of that file itself. You may then
get complaints about not finding the schema: I had to specify "-s
public", I think.

Paul

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Andrew Maclean 2007-09-17 00:02:59 Re: Documentation fix regarding atan2
Previous Message Jeff Davis 2007-09-16 18:18:13 Re: pg_standby observation