> Also, I don't actually see any point to this in psql, as you can
> always do
> begin;
> \i file
> end;
> It's only pg_restore that you really need it for. Dropping the psql
> part of the patch might give us a little more maneuvering room as far
> as the switch name goes.
>
> regards, tom lane
>
maybe it could be handy if you do this to migrate from one version to another...
pg_dumpall base | psql
--
regards,
Jaime Casanova
(DBA: DataBase Aniquilator ;)