restoring a PostgreSQL database from one server to another
Andras Simon
szajmi at gmail.com
Thu Mar 1 10:06:11 UTC 2007
On 3/1/07, Beau BOB <man_55 at hotmail.fr> wrote:
> How I can do the redirect the stderror ? I'm sorry I'm just beginning with
> Postgresql and I don't have experience?!
Try
psql -h localhost -U postgres -d template1 -f dbfile 2> errors.log
(if your shell is bash, or some other sh-derivative; but that's very likely).
Then inspect errors.log.
Andras
More information about the users
mailing list