cockroachdb / cockroachdb/activerecord-cockroachdb-adapter

Check caching of `SHOW max_identifier_length`

Open
#392 0 comments 0 reactions 0 assignees View on GitHub
enhancement question
Dominant language
Ruby
Stars
105
Forks
56
Avg merge
9h 5m
Merged PRs (30d)
3

Description

The test [`test_payload_name_on_eager_load`](https://github.com/rails/rails/blob/90a1eaa1b30ba1f2d524e197460e549c03cf5698/activerecord/test/cases/instrumentation_test.rb#L48) would fail, because we were making a schema query `SHOW max_identifier_length`. We should verify why this query is made, and if it there a pg cache mecanism that we missed in our adapter.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.