pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Teja Jakkidi <teja.jakkidi05@gmail.com>
To: pgsql-admin <pgsql-admin@lists.postgresql.org>
Subject: pg_dump and restore without indexes
Date: Tue, 4 Jun 2024 10:42:17 -0700
Message-ID: <45A8AB37-2C13-465D-9294-85CCA6C81C2D@gmail.com> (raw)

Hello Admins,

I am trying to look for an option that can be added in pg_dump command to ignore all the indexes when creating the schema dump with data.
Is there any such option that can be used in pg_dump? Or in pg_restore? 

Please help with your inputs.

Thanks in advance,
J. Teja.




view thread (6+ messages)  latest in thread

Message-ID: <45A8AB37-2C13-465D-9294-85CCA6C81C2D@gmail.com>
Permalink:  ../45A8AB37-2C13-465D-9294-85CCA6C81C2D@gmail.com/
Also on:    postgresql.org/message-id/45A8AB37-2C13-465D-9294-85CCA6C81C2D@gmail.com

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: teja.jakkidi05@gmail.com, pgsql-admin@lists.postgresql.org
  Subject: Re: pg_dump and restore without indexes
  In-Reply-To: <45A8AB37-2C13-465D-9294-85CCA6C81C2D@gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox