Skip to content

[DRAFT] Support for PostgreSQL "RECORD" return types #2427

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

Closed

Conversation

jwc-clinnection
Copy link
Contributor

In this draft change, we've added support for PostgreSQL functions that return the "RECORD" data type.

In this draft change, we've added support for PostgreSQL functions that return the "RECORD" data type.
@andrewmbenton
Copy link
Collaborator

Hey John, thanks for this! There was some work done (but not merged) to handle functions that return tables which may be similar to what you've done here: #1973. If you have a chance to take a look, let me know if you think there's redundancy.

In any case, can you share an example schema and query you're using to develop this change? Or better yet, add a test case to internal/endtoend/testdata and push it to your branch?

@andrewmbenton
Copy link
Collaborator

Since it hasn't been updated in awhile I'm going to close this PR. We have some ideas for supporting composite types when using pgx/v5which may overlap with this work: #2760

Sign up for free to 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.

2 participants