Why PostgREST assume oid types are string? #2278
-
Hi Everyone, I'm currently dealing with a small issue, probably it's just me. Let's consider the following example:
The postgREST response is looking like this:
Is there any reason why it can't respond as a number or array of numbers instead of doing text cast by default? Thank you. |
Beta Was this translation helpful? Give feedback.
Answered by
steve-chavez
May 9, 2022
Replies: 1 comment 4 replies
-
Hello, postgREST is just using the default PostgreSQL
Which casts oids to strings, as it can be seen above. |
Beta Was this translation helpful? Give feedback.
4 replies
Answer selected by
gkobluk
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello,
postgREST is just using the default PostgreSQL
json_agg
:Which casts oids to strings, as it can be seen above.