ログで気になるところ
今日のメンテ時に postgresql のログファイルに複数回記録されたこれのせいなのかなと気になっている
2020-03-09 15:09:04.147 JST [xxx] mastodon@mastodon_production ERROR: cached plan must not change result type
2020-03-09 15:09:04.147 JST [xxx] mastodon@mastodon_production STATEMENT: SELECT "accounts".* FROM "accounts" WHERE "accounts"."id" = $1 LIMIT $2
ログで気になるところ
2020-03-09 15:09:07.482 JST [xxx] mastodon@mastodon_production ERROR: cached plan must not change result type
2020-03-09 15:09:07.482 JST [xxx] mastodon@mastodon_production STATEMENT: SELECT "media_attachments".* FROM "media_attachments" WHERE "media_attachments"."status_id" = $1 ORDER BY "media_attachments"."id" ASC
Reading ... cached plan must not change result type なんてエラーが出たら - Qiita
https://qiita.com/hirokishirai/items/d2374324c8c7d265363f
@mayaeh explainとかどうでます?
@noellabo 戻りました。
同じ SQL 文だと思うのですが使われている INDEX が違いますね?
@noellabo なるほどその手が。ありがとうございます!(ちょっと時間切れのため後でします