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

Re: restoring a PostgreSQL database from one server to another



On 3/1/07, Beau BOB <man_55 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


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