alculquicondor / psqlparse

A python module that gives access to PostgreSQL's query parser, for turning SQL into a parse tree.
BSD 3-Clause "New" or "Revised" License
164 stars 41 forks source link

Check for missing mappings of parse tree nodes #26

Open alculquicondor opened 7 years ago

alculquicondor commented 7 years ago

I lost track of the nodes that are still missing to implement. I would appreciate if somebody can obtain the list of nodes missing from here https://github.com/postgres/postgres/blob/master/src/include/nodes/parsenodes.h https://github.com/postgres/postgres/blob/master/src/include/nodes/primnodes.h

Feel free to send PRs. Don't forget to add tests. If everything is done, we can finally release 1.0 (feel free to do that PR too).

Refs #6

joemirizio commented 6 years ago

Here's the list of all parsenodes and primnodes . I just grabbed all typedef structs from the headers, so let me know if I need to prune this list down.

parsenodes

primnodes