Restore single table

From: Sonam Sharma <sonams1209(at)gmail(dot)com>
To: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Restore single table
Date: 2019-10-30 12:21:22
Message-ID: CAM-M3TkgJSH=+t8EQthu0R4+VUnUjOoxcPuezJofJQ8KfBRdyg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Ritesh Jha 2019-10-30 12:29:08 Re: Restore single table
Previous Message Mitar 2019-10-30 02:38:29 Re: Automatically parsing in-line composite types