Regression Test fail to run if PLPGSQL in template1

Started by Jackson, DeJuanover 26 years ago2 messages
#1Jackson, DeJuan
djackson@cpsgroup.com

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.

Hope this helps,
DEJ

#2Bruce Momjian
maillist@candle.pha.pa.us
In reply to: Jackson, DeJuan (#1)
Re: [HACKERS] Regression Test fail to run if PLPGSQL in template1

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, Pennsylvania 19026