Skip to content

Conversation

@issuedat
Copy link
Contributor

We have an existing UNIQUE index on the phone column (users_phone_key) that can be reused for:

  1. Exact match queries
  2. Prefixed search queries (phone LIKE '123%') or range-based queries (phone > '123' AND phone < '123')
  3. Order by clauses ORDER BY phone

text_pattern_ops indexes do not support ordering.

@issuedat issuedat requested a review from a team as a code owner November 25, 2025 08:46
@coveralls
Copy link

Pull Request Test Coverage Report for Build 19663533951

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage decreased (-0.009%) to 68.33%

Totals Coverage Status
Change from base Build 19636370271: -0.009%
Covered Lines: 14402
Relevant Lines: 21077

💛 - Coveralls

@issuedat issuedat merged commit 9f39cad into master Nov 25, 2025
7 checks passed
@issuedat issuedat deleted the iat/auth-916-remove-text-pattern-ops-idx branch November 25, 2025 11:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants