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

SQLType cannot be assumed to be static. #365

Closed
sgrif opened this Issue Jul 1, 2016 · 1 comment

Comments

Projects
None yet
1 participant
@sgrif
Member

sgrif commented Jul 1, 2016

This is a core assumption that we make which is inherently false. If statements in the select clause can dynamically change this. I want to know what preparing that query in PG and asking for the return type of that query gives back in this case.

@sgrif

This comment has been minimized.

Member

sgrif commented Dec 10, 2016

PG does not allow queries which conditionally change their return type.

@sgrif sgrif closed this Dec 10, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment