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
FYI, I ran https://github.com/okbob/plpgsql_check against my DB after running the sample Postgres implementation, and I think it's complaining that these two text expressions should be cast to bytea:
[
{
"function": "public.base32_decode",
"issues": [
{
"level": "warning",
"message": "target type is different type than source type",
"statement": {
"lineNumber": "22",
"text": "statement block"
},
"hint": "The input expression type does not have an assignment cast to the target type.",
"detail": "cast \"text\" value to \"bytea\" type",
"context": "during statement block local variable \"id\" initialization on line 22"
}
]
}
]
When I added ::bytea the warnings went away. Does that seem correct to you?
The text was updated successfully, but these errors were encountered:
FYI, I ran https://github.com/okbob/plpgsql_check against my DB after running the sample Postgres implementation, and I think it's complaining that these two text expressions should be cast to
bytea
:typeid-sql/sql/02_base32.sql
Line 9 in 728d1fd
typeid-sql/sql/02_base32.sql
Line 81 in 728d1fd
When I added
::bytea
the warnings went away. Does that seem correct to you?The text was updated successfully, but these errors were encountered: