Re: Reverse Engineering

From: Hannu Krosing <hannu(at)tm(dot)ee>
To: Peter Harvey <pharvey(at)codebydesign(dot)com>
Cc: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Reverse Engineering
Date: 2001-08-23 06:59:14
Message-ID: 3B84A9C2.9E0B04EA@tm.ee
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Peter Harvey wrote:
>
> Great progress today on my Reverse Engineering efforts. However; I have
> some comments.
>
> 1. How can I switch databases (where I would normally use USE)?

You just open another connection .

If you mean psql jou do
\c otherdatabasename

> 2. How do I determine the AccessMethod specified when an index was
> created?

you can parse it from pg_indexes.indexdef

A great source for reverse engineering is source of pg_dump as it has
to do all the "reverse engineering" in order to dump everything.

> 3. It would be cool if the catalog objects had comments on them in
> pg_description. Very few do.

Yes it would :)

-------------
Hannu

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Zeugswetter Andreas SB SD 2001-08-23 07:56:18 RE: CURRENT OF cursor without OIDs
Previous Message Peter Harvey 2001-08-23 05:27:23 Reverse Engineering