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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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

Browse pgsql-hackers by date

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