Re: Schema objects

From: "Milen A(dot) Radev" <milen(at)radev(dot)net>
To: pgsql-admin(at)postgresql(dot)org
Subject: Re: Schema objects
Date: 2007-10-09 20:58:36
Message-ID: fegq1r$624$1@sea.gmane.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Lucas Martino написа:
> Hello,
> i need list all tables, functions, procedures, triggers, sequences of a
> specific schema. How can i do this?

One way (the only one I could think of) is to dump the schema using the
custom format and then use the pg_restore to list the contents of the
dump file:

pg_dump --format=c --schema=a_schema --schema-only --file=x.dump a_database

and then:

pg_restore --list x.dump

Probably someone would suggest a more direct way.

--
Milen A. Radev

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message David Rovner 2007-10-09 21:29:32 persistent 'psql: FATAL: "listen_addresses" cannot be changed after server start
Previous Message David Rovner 2007-10-09 20:27:24 persistent 'psql: FATAL: "listen_addresses" cannot be changed after server start