Schema dump

From: Sonam Sharma <sonams1209(at)gmail(dot)com>
To: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Schema dump
Date: 2020-01-02 07:15:10
Message-ID: CAM-M3Tmj=caRsGiyD9_uE_9Ks+GZzjoFQii5twC-H650_GkXFA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

I took a schema dump using : pg_dump -n schema dbname .

When I restored this , it doesn't contain the constraints and indexes. Can
someone please help how to take a dump including all

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2020-01-02 13:47:34 Re: Schema dump
Previous Message Matthias Apitz 2020-01-01 17:39:36 Re: How to reset a server error '25P02 in_failed_sql_transaction'