Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upinfer_schema! is treating PostgreSQL views as tables. #373
Comments
killercup
referenced this issue
Jul 5, 2016
Closed
infer_schema! will no longer treat views as tables #374
added a commit
to cascalheira/diesel
that referenced
this issue
Jul 5, 2016
pushed a commit
to cascalheira/diesel
that referenced
this issue
Jul 12, 2016
pushed a commit
to cascalheira/diesel
that referenced
this issue
Jul 12, 2016
pushed a commit
to cascalheira/diesel
that referenced
this issue
Jul 12, 2016
added a commit
to killercup/diesel
that referenced
this issue
Sep 9, 2016
added a commit
to killercup/diesel
that referenced
this issue
Sep 14, 2016
sgrif
closed this
in
97fac13
Sep 16, 2016
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
cascalheira commentedJul 5, 2016
•
edited
First of all, thank you all for your great work on Diesel!
I am using PostGIS in a Postgres database and i was just starting to try to use diesel to access it. The main problem so far is if i use infer_schema! i get this error:
error: table geography_columns has 0 primary keys, only one is currently supportedIt seems that infer_schema! is treating views as if they were tables. Is there any work around for this?
Unfortunately my rust-fu is not yet strong enough for me to help with a proper solution :)
Edit: Just submitted a pull request that solves this issue: #374