| From: | "Dann Corbit" <DCorbit(at)connx(dot)com> |
|---|---|
| To: | "Kynn Jones" <kynnjo(at)gmail(dot)com>, <pgsql-general(at)postgresql(dot)org> |
| Subject: | Re: ISO TESTS for a Pg lexer+parser |
| Date: | 2007-07-06 22:07:22 |
| Message-ID: | D425483C2C5C9F49B5B7A41F89441547010007B9@postal.corporate.connx.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
This stuff:
/postgresql-8.2.4/src/test/regress/sql
Should do for starters.
> -----Original Message-----
> From: pgsql-general-owner(at)postgresql(dot)org [mailto:pgsql-general-
> owner(at)postgresql(dot)org] On Behalf Of Kynn Jones
> Sent: Friday, July 06, 2007 12:15 PM
> To: pgsql-general(at)postgresql(dot)org
> Subject: [GENERAL] ISO TESTS for a Pg lexer+parser
>
> Hi! I am in the process of writing a PostgreSQL lexer/parser in Perl,
> because everything else I've found in this area is too buggy. I'm
> basing this lexer/parser on the lexer and parser encoded respectively
> in scan.l and gram.y under src/backend/parser.
>
> I'm looking for a solid collection of test cases to test my
> lexer/parser. (I'm hoping that such a collection has already been
> produced to test the PostgreSQL yacc-generated parser that comes with
> the PostgreSQL distribution.)
>
> (Alternatively, if a non-flaky, rock-solid, and easily customizable Pg
> parser in Perl already exists please let me know.)
>
> TIA!
>
> kj
>
> ---------------------------(end of
broadcast)---------------------------
> TIP 6: explain analyze is your friend
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Andreas 'ads' Scherbaum | 2007-07-06 22:12:32 | Re: Problem with autovacuum and pg_autovacuum |
| Previous Message | Alexander Staubo | 2007-07-06 20:20:09 | Re: Polymorphic delete help needed |