14 Commits

Author SHA1 Message Date
Jeff Garzik
75ee778e7e Fix minor bugs: some int-to-boolean JSON conversions were missed. 2019-01-05 01:33:36 -05:00
Jeff Garzik
7e443f45fe Improve comparison operator output. 2019-01-05 01:17:12 -05:00
Jeff Garzik
3afcaf06f6 Finish conversion of program output to JSON stream. 2019-01-05 00:48:12 -05:00
Jeff Garzik
2489a77413 Continue conversion of printf() output to JSON. 2019-01-05 00:26:01 -05:00
Jeff Garzik
0a18c5ef1a Begin conversion of stdout data to JSON stream.
Tested with tst-create*.sql new tests.
2019-01-04 23:15:46 -05:00
Jeff Garzik
32043a11c3 Pass parser state ptr to each parser executor callback. 2016-07-28 18:34:21 -04:00
Jeff Garzik
ea2ca5f51b Move psql_state into sql-parser.h. 2016-07-28 18:14:36 -04:00
Jeff Garzik
d5e59cd6db emit() sweep: finish conversion, converting 'strange func call' cases
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
2009-11-08 23:52:47 -05:00
Jeff Garzik
ebcaf5895e emit() sweep: convert everything else, except for strange-func-call cases
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
2009-11-08 23:33:06 -05:00
Jeff Garzik
dd1900b02b emit() sweep: converting several of the stragglers remaining
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
2009-11-08 23:11:39 -05:00
Jeff Garzik
38ec0eb526 emit() sweep: convert expressions, values, DELETE and SELECT
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
2009-11-08 22:19:53 -05:00
Jeff Garzik
5f11c7e1e0 emit() sweep: convert CREATE TABLE column definition/attribs/constraints
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
2009-11-08 21:16:50 -05:00
Jeff Garzik
8948cfcb31 emit() sweep: basics of CREATE TABLE now converted to API form
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
2009-11-08 19:32:25 -05:00
Jeff Garzik
af321368f2 Begin replacing emit() placeholders with API function calls
CREATE DATABASE, DROP DATABASE, DROP TABLE, sql statement, and list
of table names all have associated API calls.

Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
2009-11-08 18:57:33 -05:00