Skip to content

Inconsistent output for a function call from postgrest API url #1835

Discussion options

You must be logged in to vote

Thanks for the reply. The postgREST version we are using is v7.0.1. First of all, I am not sure which one is the correct output.

The output without the function name is correct. In v7.0.1 this didn't work for all functions, depending on the returned type. We have since cleaned this up a bit and the output should be more consistent in the latest nightly. However, I don't think this is something you are experiencing, because your output is correct once the schema cache is reloaded.

We need an uptodate schema cache to be able to tell which return type a function has and then properly format it. There is no way around that.

Once the postgrest is up and running, and I create a function and …

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by wolfgangwalther
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #1834 on April 28, 2021 10:34.