-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
sql: support array_in builtin function #12139
Comments
This task exposes more deficiencies in our
We could make the function lookup we implement for Or, we could add type aliases for @nvanbenschoten, do you have any thoughts on this w.r.t. your recent work on type aliasing? |
There are a few interesting things to note about the line
I think your first suggestion is the approach we should take here. Until the disambiguation is proven to be necessary, I don't think it's worth supporting. I actually think the bigger issue is supporting these |
Good point about the pointless use of I agree that we don't really need to implement |
ActiveRecord attempts to look up OID of the
array_in
builtin function to searchpg_type
for entries with a matchingtypinput
field in the query below. We don't support this builtin function, but we need to make an effort to do so to support ActiveRecord.array_in
is pretty much entirely undocumented. It's mentioned in the Create Type documentation and this random ebook. It seems like it's an "input function" that basically parses an array into some Postgres internal format.The text was updated successfully, but these errors were encountered: