You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Update the docs. While at it, make the error message more clear. Right now it seems it comes from PostgreSQL.
Notes
Maybe it's a good thing to behave like this now since we'll reject the request at the plan level and save pool connections. This whenever the user mistypes a column.
The text was updated successfully, but these errors were encountered:
Some PostgREST features need metadata from the database schema.
Now it's almost like every feature requires the schema cache.. the only thing that doesn't require it are GETs.. but we might as well just say we require it for everything.
I'll delete the "Feature - Required Metadata" table and the "some" claim.
Now it's almost like every feature requires the schema cache.. the only thing that doesn't require it are GETs.. but we might as well just say we require it for everything.
Problem
Start postgREST:
Add a new column:
Then:
And this happens when using
columns
or not.Seems this was introduced on #2839. The problem is that it's not documented on https://postgrest.org/en/v12/references/schema_cache.html.
Solution
Update the docs. While at it, make the error message more clear. Right now it seems it comes from PostgreSQL.
Notes
Maybe it's a good thing to behave like this now since we'll reject the request at the plan level and save pool connections. This whenever the user mistypes a column.
The text was updated successfully, but these errors were encountered: