Skip site navigation (1) Skip section navigation (2)

Re: pg_restore options issues

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Oliver Elphick <olly(at)lfix(dot)co(dot)uk>
Cc: PostgreSQL Development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: pg_restore options issues
Date: 2001-01-07 16:02:53
Message-ID: Pine.LNX.4.30.0101071700100.1150-100000@peter.localdomain (view raw or flat)
Thread:
Lists: pgsql-hackers
Oliver Elphick writes:

> I don't like that; it will need to be escaped with \ or the shell will
> substitute the contents of the current directory for the *.
>
> Why not use `-t all'

Because there might be a table called "all".  (Okay, there could be a
table called "*", but really...)

> or `-A'?

We'd need an option letter for tables, triggers, indexes, functions, etc.

> You should also change the help text a bit:
>
>   -t [table], --table[=table] 	 dump for this table only
>
> gives no hint that omitting `=table' will restore all tables.

Okay, when we decide how to handle it.

-- 
Peter Eisentraut      peter_e(at)gmx(dot)net       http://yi.org/peter-e/


In response to

pgsql-hackers by date

Next:From: Peter EisentrautDate: 2001-01-07 16:50:42
Subject: Re: A post-7.1 wish-list.
Previous:From: Oliver ElphickDate: 2001-01-07 13:42:16
Subject: Re: pg_restore options issues

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group