Re: Pgsql test Files - Mailing list pgsql-students

From Kevin Grittner
Subject Re: Pgsql test Files
Date
Msg-id 511974994.895355.1419603586809.JavaMail.yahoo@jws100132.mail.ne1.yahoo.com
Whole thread Raw
In response to Pgsql test Files  ("Zainab M. Raoof" <zmr98@hotmail.com>)
List pgsql-students
Zainab M. Raoof <zmr98@hotmail.com> wrote:

> In my study and research  I need to take a look into the source
> files of PostgreSQL , I wonder how todifferentiate a  test file
> from an actual source code file? is there any pattern for test
> file name?

You will generally find source files related to testing in or under
subdirectories name "test".  For example, the src/test/regress
subdirectory contains C code for the main testing framework and
subdirectories for SQL scripts and the expected results from
running them.

When tests are run you will find source code copied under
"tmp_check" subdirectories that you can generally ignore.

--
Kevin Grittner
EDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

pgsql-students by date:

Previous
From: "Zainab M. Raoof"
Date:
Subject: Pgsql test Files
Next
From: Reza Harasani
Date:
Subject: Change Create Table Grammar