agora inbox for pgsql-admin@postgresql.org  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Ron Johnson <ronljohnsonjr@gmail.com>
Cc: Pgsql-admin <pgsql-admin@lists.postgresql.org>
Subject: Re: Incorrect syntax when restoring a single table
Date: Thu, 27 Jun 2024 11:05:02 -0400
Message-ID: <1734113.1719500702@sss.pgh.pa.us> (raw)
In-Reply-To: <CANzqJaC-zy=B6YPUJvPZa7+1bUp1BLyurpoB7dZiB6aLbpofFw@mail.gmail.com>
References: <CANzqJaC-zy=B6YPUJvPZa7+1bUp1BLyurpoB7dZiB6aLbpofFw@mail.gmail.com>

Ron Johnson <ronljohnsonjr@gmail.com> writes:
> $ pg_restore -v -a -t tapschema.batch_rp4_y2022m08 -Fd --dbname=tap tap

I think what you have to do is write -n tapschema -t batch_rp4_y2022m08

			regards, tom lane





view thread (5+ messages)  latest in thread

Message-ID: <1734113.1719500702@sss.pgh.pa.us>
Permalink:  ../1734113.1719500702@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/1734113.1719500702@sss.pgh.pa.us

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: tgl@sss.pgh.pa.us, ronljohnsonjr@gmail.com, pgsql-admin@lists.postgresql.org
  Subject: Re: Incorrect syntax when restoring a single table
  In-Reply-To: <1734113.1719500702@sss.pgh.pa.us>

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

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