Re: ecpg leaves broken files around

From: Michael Meskes <meskes(at)postgresql(dot)org>
To: Magnus Hagander <magnus(at)hagander(dot)net>
Cc: Michael Meskes <meskes(at)postgresql(dot)org>, PGSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: ecpg leaves broken files around
Date: 2007-06-11 12:02:23
Message-ID: 20070611120223.GA28124@feivel.credativ.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Mon, Jun 11, 2007 at 10:03:57AM +0200, Magnus Hagander wrote:
> If you find the other behaviour useful, perhaps add a commandline switch
> that makes it leave the file around? Just make the
> remove-the-file-on-failure default.

Should be fixed now. I don't think such a command line switch is needed.
After all you could run ecpg with "-o -" and make it output to stdout.

Michael
--
Michael Meskes
Email: Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org)
ICQ: 179140304, AIM/Yahoo: michaelmeskes, Jabber: meskes(at)jabber(dot)org
Go SF 49ers! Go Rhein Fire! Use Debian GNU/Linux! Use PostgreSQL!

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Heikki Linnakangas 2007-06-11 13:27:19 Re: Performance regression on CVS head
Previous Message Stephen Frost 2007-06-11 11:49:20 Re: Truncate Permission