This section is from the "Practical PostgreSQL" book, by John Worsley and Joshua Drake. Also available from Amazon: Practical PostgreSQL.
Regression tests are an optional but recommended group of tests. The regression tests help verify that PostgreSQL will run as expected after you have compiled the source. The tests check tasks such as standard SQL operations and the extended capabilities of PostgreSQL. The execution of the regression tests is not a requirement. However, the regression tests can help point out any possible (but not probable) problems with the PostgreSQL compilation.
If you decide you would like to run the regression tests you can do so by using the following command command gmake check .
Example 2-7. Making Regression Tests
[root@host postgresql-7.1.2]# gmake check
![]() | Test Failure |
---|---|
The regression tests will not always pick up on every error message. This can be due to time zone support and floating point results. As with any application, you are going to want to make sure that you perform your own testing while developing with PostgreSQL. |
 
Continue to: