exclude user mappings, foreign server from dump

From: Sergey Urlin <sergey(dot)urlin(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: exclude user mappings, foreign server from dump
Date: 2011-07-06 15:45:42
Message-ID: CAOGPgSjGWkSBVC9_qSXkKug9K+07hDSHCTvP1E0JAs5TVafumw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hello,

I have the question regarding pg_dump functionality.
I using PostgreSQL 8.4.8 database and defined the dblink between two
databases. dblink uses foreign data wrapper, user mappings and foreign
server.
When I perform database backup using pg_dump utility it also includes
foreign data wrapper, user mappings and foreign server definitions. However
since it isn't related to the schema itself I would prefer to exclude this
information.

Could you please suggest me if is there a way to not dump foreign data
wrapper and user mappings in pg_dump (exclude this information)?

Thank you.

--
Sergey

Browse pgsql-general by date

  From Date Subject
Next Message David Hartveld 2011-07-06 15:54:17 Streaming replication on 9.1-beta2 after pg_restore is very slow
Previous Message Bill Moran 2011-07-06 15:44:02 Re: Performance Monitoring of PostGRE