Skip to content

Conversation

@kyleconroy
Copy link
Collaborator

@kyleconroy kyleconroy 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.

@kyleconroy kyleconroy merged commit 1ac6f19 into main Oct 17, 2023
@kyleconroy kyleconroy 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 <andrew@sqlc.dev>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants