-
Notifications
You must be signed in to change notification settings - Fork 294
Closed
Labels
bugSomething isn't workingSomething isn't working

Description
Bug report
Describe the bug
The local environment created by supabase start
creates a database with a locale of en_US.UTF-8
whereas the Supabase cloud database is created with a locale of C.UTF-8
.
To Reproduce
Steps to reproduce the behavior, please provide code snippets or a repository:
- Run
supabase start
- Dump local database.
- Create a Supabase cloud project.
- Dump cloud database.
- Compare the difference.
Expected behavior
I would expect them to be the same because a different locale means that Postgres sorting, string functions, pattern matching and other aspects of the database can differ in varying degrees.
References: https://www.postgresql.org/docs/current/locale.html#id-1.6.11.3.5
Screenshots
None.
System information
- OS: Linux
- Browser: none
- Version of supabase-cli: 1.35.0
- Version of Node.js: 16.18.0
Additional context
I am betting this is caused by the locale of my desktop Linux system being set to en_US.UTF-8
. However, I don't think that changing my system's locale should be the solution.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working