From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | Kevin Grittner <Kevin(dot)Grittner(at)wicourts(dot)gov>, pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: Backslashes in string literals |
Date: | 2006-02-11 00:04:19 |
Message-ID: | 200602110004.k1B04Je03749@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Tom Lane wrote:
> Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> writes:
> > Oh, what I normally do is to look at regression.diff, and if that looks
> > OK, I just apply it to the expected file like this:
>
> > cd expected
> > patch < ../regression.diff
>
> Oh, that explains a few things ...
>
> It's much better to just copy the result file over the expected file
> once you've decided it's OK. The regression.diff file is inexact
> because of the diff switches that are used.
I am confused. patch dosen't make an indentical file? Example?
> If you need to update expected variants your machine doesn't generate,
> make a fresh regular diff off the expected and actual, and apply that
> to the other variants.
Ah, good point. I often forget about those.
--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2006-02-11 00:11:47 | Re: Backslashes in string literals |
Previous Message | Tom Lane | 2006-02-10 22:01:00 | pgsql: Enable pg_ctl to give up admin privileges when starting the |