pg_parse 0.12.0

PostgreSQL parser that uses the actual PostgreSQL server source to parse SQL queries and return the internal PostgreSQL parse tree.
Documentation
1
2
3
4
5
6
7
8
9
#ifndef POSTGRES_DEPARSE_H
#define POSTGRES_DEPARSE_H

#include "lib/stringinfo.h"
#include "nodes/parsenodes.h"

extern void deparseRawStmt(StringInfo str, RawStmt *raw_stmt);

#endif