]> git.8kb.co.uk Git - pgpool-ii/pgpool-ii_2.2.5/blob - test/parser/README
Attempt to send a proper failure message to frontend when authentication
[pgpool-ii/pgpool-ii_2.2.5] / test / parser / README
1 $Header: /cvsroot/pgpool/pgpool-II/test/parser/README,v 1.2 2007/10/03 04:52:26 y-asaba Exp $
2
3 1. Parser test program
4
5 1.1 How to build
6 Parser test program builds with the following command.
7
8   % make
9
10 "parser-test" file is created.
11
12 1.2 Running program
13 You passes a SQL statement to parser-test. If the program accepts the
14 statement, it outputs SQL generated from a parse tree.
15
16   % ./parser-test "select 1"
17   SELECT 1
18
19 If the program does not accept, it outputs an error.
20
21   % ./parser-test "aaa"
22   syntax error: aaa
23
24
25 2. Testing
26 2.1 How to test
27 You types the following command.
28
29   % make test
30
31 If test is failed, you should check test.diff. Then please send
32 test.diff to developers.