Skip to content

Conversation

@kyleconroy
Copy link
Collaborator

@kyleconroykyleconroy commented Oct 16, 2023

Fixes#1654

Don't panic if a function doesn't have a return type. Load the out parameters if they exist.

@kyleconroykyleconroy merged commit 1ac6f19 into mainOct 17, 2023
@kyleconroykyleconroy deleted the andrew/pg-func-out-panic branch October 17, 2023 17:01
alfonsodev pushed a commit to ExponentiaTeam/sqlc that referenced this pull request Oct 13, 2025
* test: add a test case for sqlc-dev#1654 * fix(compiler): Support functions with OUT params * Add generated code --------- Co-authored-by: Andrew Benton <[email protected]>
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

sqlc crashes when calling a function with OUT arg

3 participants

@kyleconroy@andrewmbenton