Re: Restore single table

From: Ritesh Jha <kumarritesh309(at)gmail(dot)com>
To: Sonam Sharma <sonams1209(at)gmail(dot)com>
Cc: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: Restore single table
Date: 2019-10-30 12:29:08
Message-ID: CABjKxBfx4JX0yNfDd1Wbr=vCvXW7r9nEqQLtmOPxxS6YE1GM1w@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

psql -d databaseName -f tablename.sql

On Wed, Oct 30, 2019, 5:51 PM Sonam Sharma <sonams1209(at)gmail(dot)com> wrote:

> Can someone please help me with the command to restore a single table
> using psql.
>
> Took the backup using below command :
> pg_dump -t (tablename) dbname > tablename.sql
>

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Merlin Moncure 2019-10-30 15:38:10 Re: Automatically parsing in-line composite types
Previous Message Sonam Sharma 2019-10-30 12:21:22 Restore single table