Re: Pgsql test Files

From: Kevin Grittner <kgrittn(at)ymail(dot)com>
To: "Zainab M(dot) Raoof" <zmr98(at)hotmail(dot)com>, "pgsql-students(at)postgresql(dot)org" <pgsql-students(at)postgresql(dot)org>
Subject: Re: Pgsql test Files
Date: 2014-12-26 14:19:46
Message-ID: 511974994.895355.1419603586809.JavaMail.yahoo@jws100132.mail.ne1.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-students

Zainab M. Raoof <zmr98(at)hotmail(dot)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

In response to

Browse pgsql-students by date

  From Date Subject
Next Message Reza Harasani 2015-02-16 11:12:41 Change Create Table Grammar
Previous Message Zainab M. Raoof 2014-12-24 07:50:15 Pgsql test Files