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
Make at least 5 calls to /channels/<id>/messages/_search to get the plan cached
Change the type of the metadata
Make the call to /channels/<id>/messages/_search again (repeatedly since it might be from a different pid)
Expected:
the call succeeds
Actual:
When the same pid is reused, the cache fails with HTTP 500
PG Server records this error:
2026-09-21 04:51:50.195 UTC [79] ERROR: cached plan must not change result type
2026-09-21 04:51:50.195 UTC [79] STATEMENT: SELECT *
FROM D_MCM1
WHERE MESSAGE_ID = $1
AND METADATA_ID = $2
Repro:
/channels/<id>/messages/_searchto get the plan cached/channels/<id>/messages/_searchagain (repeatedly since it might be from a different pid)Expected:
Actual: