| 1 | #pragma once |
|---|---|
| 2 | |
| 3 | #include <string> |
| 4 | #include "nodes/pg_list.hpp" |
| 5 | |
| 6 | namespace duckdb { |
| 7 | class PostgresParser { |
| 8 | public: |
| 9 | PostgresParser(); |
| 10 | void Parse(std::string query); |
| 11 | ~PostgresParser(); |
| 12 | |
| 13 | bool success; |
| 14 | PGList *parse_tree; |
| 15 | std::string error_message; |
| 16 | int error_location; |
| 17 | }; |
| 18 | } |
| 19 |