Dump all the indexes/constraints/roles

From: Patrick B <patrickbakerbr(at)gmail(dot)com>
To: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Dump all the indexes/constraints/roles
Date: 2016-10-18 03:32:19
Message-ID: CAJNY3iskEm1-E-sAqj4taY=g8kELEYf3myBMVfu8EB_q_7WZmw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi guys,

I need to export an entire database to another server, for testing purpose.

Is there any way to export all indexes and constraints ?
Postgres 9.2
Patrick

Responses

Browse pgsql-general by date

  From Date Subject
Next Message John R Pierce 2016-10-18 04:04:23 Re: Dump all the indexes/constraints/roles
Previous Message Adrian Klaver 2016-10-18 00:22:07 Re: Problem changing default data_directory in PG 9.6 + CentOS6