Search Postgresql Archives

Re: restore multiple tables postgres

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thanks a lot.

On Wed, Apr 14, 2010 at 11:15 AM, Scott Mead <scott.lists@xxxxxxxxxxxxxxxx> wrote:

On Wed, Apr 14, 2010 at 11:03 AM, Scott Mead <scott.lists@xxxxxxxxxxxxxxxx> wrote:

On Wed, Apr 14, 2010 at 10:56 AM, akp geek <akpgeek@xxxxxxxxx> wrote:
Dear all -

        Can you please help me with this? Is there a way to restore multiples ( more than one table ) using a single command from a whole database dump that was created using pg_dump


I just realized what you were asking, sorry... you were asking about multiple tables during restore.  I thought that you could do:

  pg_restore -t <table> -t <table1> 
 or
  pg_restore -t <table>,<table1> 

  But it looks like you can't (just tried it with 8.4.2 pg_restore).

  Sorry for the mis-read.

--Scott
 

Depends on exactly how you took the pg_dump.

  Did you use -F c or -F t?

--Scott
 

regards




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux