Dump all the indexes/constraints/roles - Mailing list pgsql-general

From Patrick B
Subject Dump all the indexes/constraints/roles
Date
Msg-id CAJNY3iskEm1-E-sAqj4taY=g8kELEYf3myBMVfu8EB_q_7WZmw@mail.gmail.com
Whole thread Raw
Responses Re: Dump all the indexes/constraints/roles  (John R Pierce <pierce@hogranch.com>)
Re: Dump all the indexes/constraints/roles  (Adrian Klaver <adrian.klaver@aklaver.com>)
Re: Dump all the indexes/constraints/roles  (Condor <condor@stz-bg.com>)
Re: Dump all the indexes/constraints/roles  (Jeff Janes <jeff.janes@gmail.com>)
List 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

pgsql-general by date:

Previous
From: Adrian Klaver
Date:
Subject: Re: Problem changing default data_directory in PG 9.6 + CentOS6
Next
From: John R Pierce
Date:
Subject: Re: Dump all the indexes/constraints/roles