Re: [HACKERS] RE: [GENERAL] pg_dump return status..

2001-01-06 Thread Philip Warner
At 19:14 4/01/01 -0600, Matthew wrote: >I posted a note to the hackers list about this very issue last week. It was >never responded to. I am prepared to do the work and submit a patch, but I >wanted some input on how best to do it. We had a problem with a backup >script silently failing when t

[GENERAL] pg_dump return status..

2001-01-04 Thread Anand Raman
hi guys I am trying to create a shell script which dumps my db to a flat file .. To dump the database i use the pg_dump command.. I find that irrespective of the fact whether pg_dump managed to connect to the db or not the return status ($?) is always zero.. This throws the shell script in a sp