Skip to content

Latest commit

 

History

History
13 lines (10 loc) · 379 Bytes

File metadata and controls

13 lines (10 loc) · 379 Bytes

Known bugs

Function parameters named after keywords

CREATE FUNCTION f("offset" integer) RETURNS integer
LANGUAGE sql AS $$ SELECT "offset" $$;

libpg_query deparses the argument as offset int, which is invalid because OFFSET is reserved. deparseFunctionParameter in libpg_query/src/postgres_deparse.c should call quote_identifier for parameter names.