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
I'm trying to upgrade an extension that uses AnyElement to the 0.5 beta, and it looks like the AnyElement::oid of the type in the AnyElement is always zero, when an AnyElement is passed in from Postgres. AnyElement::oid worked fine in 0.4.5.
I'll try to find out if this can be fixed but if you have FunctionCallInfo you want to break down (a very likely situation for needing AnyElement in the first place) then the workaround for now is to use pgx::fcinfo::get_getarg_typepg_getarg_type.
I'm trying to upgrade an extension that uses
AnyElement
to the 0.5 beta, and it looks like theAnyElement::oid
of the type in theAnyElement
is always zero, when anAnyElement
is passed in from Postgres.AnyElement::oid
worked fine in 0.4.5.Here's a simplified test case with a failing test: https://gist.github.com/Smittyvb/b1ee0bffcf413b85cefe1351caedfaf6
The text was updated successfully, but these errors were encountered: