Re: CVS regression test problem - Mailing list pgsql-hackers

From Tom Lane
Subject Re: CVS regression test problem
Date
Msg-id 10376.1114405664@sss.pgh.pa.us
Whole thread Raw
In response to Re: CVS regression test problem  (Oleg Bartunov <oleg@sai.msu.su>)
List pgsql-hackers
Oleg Bartunov <oleg@sai.msu.su> writes:
> On Sun, 24 Apr 2005, Alvaro Herrera wrote:
>>> error messages like ! ERROR:  unrecognized node type: 516
>> 
>> I assume you make distclean'd ...

> aha, make distclean helps ! Sorry for bothering

I added/removed some node types, so if you didn't do a full rebuild
you'd probably have various files out of sync about which node type
has which number.

AFAICS there are two reasonable ways to work with updating from CVS:
1. make distclean (or at least make clean) each time you update;
2. configure with --enable-depend and trust gcc to get it right.

If you don't do either then you *will* get burnt.  I personally use
method #1 --- I don't know what the reliability of method #2 is.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: [PERFORM] Bad n_distinct estimation; hacks suggested?
Next
From: Rafaqat Ali
Date:
Subject: Passwords in PSQL