pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Chad R. Larson <clarson@eldocomp.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
To: Bruce Momjian <pgman@candle.pha.pa.us>
Cc: Simone Tellini <tellini@areabusiness.it>
Cc: pgsql-admin@postgresql.org
Subject: Re: restore whoes
Date: Mon, 11 Feb 2002 15:20:27 -0700
Message-ID: <4.2.2.20020211151556.00c276a8@ecint.ecinet.com> (raw)
In-Reply-To: <15393.1013460149@sss.pgh.pa.us>
References: <200202112034.g1BKY8K13538@candle.pha.pa.us>
	<200202112034.g1BKY8K13538@candle.pha.pa.us>

At 01:42 PM 2/11/2002 , Tom Lane wrote:
>It's not ideal, certainly, but I think it's preferable to continuing to 
>get burned every time a pg_dump file comes within hailing distance of Windoze.

Perhaps something along this line would be useful.
         -crl
--
Chad R. Larson (CRL22)    chad@eldocomp.com
   Eldorado Computing, Inc.   602-604-3100
      5353 North 16th Street, Suite 400
        Phoenix, Arizona  85016-3228

Attachments:

ftpfix.c (text/plain, 656B) download /* ftpfix.c - ASCII to binary fixup - 1.2 */ /* ** A quick and dirty filter intended to undo the damage caused ** by using FTP in ASCII mode on a binary file. */ #include <stdio.h> void exit(); main() { int c; /* a generic character */ while ((c = getchar()) != EOF) /* read the file */ { redo: if (c != '\r') /* Carriage Return? */ (void) putchar(c); /* copy to output if not */ else { if ((c = getchar()) == EOF) { (void) putchar('\r'); /* wrap up */ exit(0); } else { if (c != '\n') /* CR/LF pair? */ (void) putchar('\r'); /* catch up stream */ goto redo; } } } }

view thread (30+ messages)  latest in thread

Message-ID: <4.2.2.20020211151556.00c276a8@ecint.ecinet.com>
Permalink:  ../4.2.2.20020211151556.00c276a8@ecint.ecinet.com/
Also on:    postgresql.org/message-id/4.2.2.20020211151556.00c276a8@ecint.ecinet.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: clarson@eldocomp.com, tgl@sss.pgh.pa.us, pgman@candle.pha.pa.us, tellini@areabusiness.it
  Subject: Re: restore whoes
  In-Reply-To: <4.2.2.20020211151556.00c276a8@ecint.ecinet.com>
  References: <200202112034.g1BKY8K13538@candle.pha.pa.us> <4.2.2.20020211151556.00c276a8@ecint.ecinet.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox