Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

users has a bunch of nullable columns #16442

Open
matrixbot opened this issue Dec 21, 2023 · 0 comments
Open

users has a bunch of nullable columns #16442

matrixbot opened this issue Dec 21, 2023 · 0 comments

Comments

@matrixbot
Copy link
Collaborator

matrixbot commented Dec 21, 2023

This issue has been migrated from #16442.


Additionally:

  • name is a nullable field (?!?!?!)

With that said, on matrix.org:

matrix=> select count(*) from users;
  count   
══════════
 62887652
(1 row)

Time: 12499.198 ms (00:12.499)
matrix=> select count(*) from users where name IS NULL;
 count 
═══════
     0
(1 row)

Originally posted by @DMRobertson in matrix-org/synapse#16434 (comment)

@matrixbot matrixbot changed the title Dummy issue users has a bunch of nullable columns Dec 22, 2023
@matrixbot matrixbot reopened this Dec 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant