Maksim Gorkov

Results 5 issues of Maksim Gorkov

This patch fixes the [#243](https://github.com/pganalyze/libpg_query/issues/243) , [#160](https://github.com/pganalyze/libpg_query/issues/160) , [#248](https://github.com/pganalyze/libpg_query/issues/248) issues and the following errors: "variable "$1" does not exist" "collations are not supported by type -" "variable "ref" must be...

Trying to parse the following example gives the error `missing expression at or near ";"` ```sql CREATE OR REPLACE FUNCTION public.test_pl(s integer, e integer) RETURNS TABLE(id INTEGER) AS $$ BEGIN...

When parsing function with sql_body ([docs](https://www.postgresql.org/docs/current/sql-createfunction.html)) the pg_query_parse_plpgsql aborts with error: `"src/pg_query_parse_plpgsql.c:143: compile_create_function_stmt: Assertion 'proc_source != NULL' failed."` simple_plpgsql.c : ```C #include #include #include int main() { PgQueryPlpgsqlParseResult result; result...

question

The following queries produces an invalid tree when run through the parser : SELECT 0; SELECT -1; Parser output: ` { version: 160001, stmts: [ { stmt: { SelectStmt: {...

Fixes: https://github.com/nodejs/node/issues/55834

child_process
needs-ci