Re: [HACKERS] Regression Test fail to run if PLPGSQL in template1 - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: [HACKERS] Regression Test fail to run if PLPGSQL in template1
Date
Msg-id 199907091757.NAA06191@candle.pha.pa.us
Whole thread Raw
In response to Regression Test fail to run if PLPGSQL in template1  ("Jackson, DeJuan" <djackson@cpsgroup.com>)
List pgsql-hackers
> I decided to look at some system statistics (DISK IO to be specific), so I
> reran the regression test on my RH5.2 box.  I was surprised when it failed
> after createlang was called for plpgsql.  It should be a quick fix for Jan.
> Either fix createlang to exit with a 0 status on language already installed:
> 143c143
> <       exit 1
> ---
> >       exit 0
> 
> Or fix it to exit with some other status and test for that status in the
> Regression GNUMakefile.

createlang now returns 2 for languages already exists, and regression
now allows 2 as a valid return value for createlang.  Please test.

--  Bruce Momjian                        |  http://www.op.net/~candle maillist@candle.pha.pa.us            |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026
 


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: [HACKERS] "24" < INT_MIN returns TRUE ???
Next
From: Bruce Momjian
Date:
Subject: 6.5.1