Re: Backslashes in string literals - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Backslashes in string literals
Date
Msg-id 21216.1139591785@sss.pgh.pa.us
Whole thread Raw
In response to Re: Backslashes in string literals  (Bruce Momjian <pgman@candle.pha.pa.us>)
Responses Re: Backslashes in string literals
List pgsql-hackers
Bruce Momjian <pgman@candle.pha.pa.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.

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.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Stephan Szabo
Date:
Subject: Re: how is that possible
Next
From: Tom Lane
Date:
Subject: Re: PostgreSQL 8.0.6 crash