-
Notifications
You must be signed in to change notification settings - Fork 175
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PLPGSQL - Using record fields #38
Comments
Hi @rafaelthca - thanks for reaching out about this! You are indeed correct that this doesn't work - the PL/pgSQL parser is a bit of work in progress, since it doesn't setup variables and return values correctly (yet). See https://github.com/lfittl/libpg_query/blob/10-latest/src/pg_query_parse_plpgsql.c#L80 which is inspired by https://github.com/postgres/postgres/blob/REL_10_STABLE/src/pl/plpgsql/src/pl_comp.c#L794 If you have time to work on this help would be very welcome :) |
Fixed in e9e4ba9 |
Hi,
Can't attribute values to record fields:
Error:
But postgresql accepts this syntax.
Great library by the way, keep up the good work.
Rafael.
The text was updated successfully, but these errors were encountered: