-
-
Notifications
You must be signed in to change notification settings - Fork 173
[WIP] Major Upgrading of Supabase Postgres #44
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
Conversation
- LSE included - Need additional changes before it is close to ANXS Postgres
- pg_hba.conf - pg_ident.conf - postgresql.conf - postgresql.service
- Remove values now handled by template files - Add vars for Postgres building
- This is pre-installed in Ubuntu 20.04 images
- Installation of dependencies - Compilation & Building - Installation - Init of DB - Starting of DB upon boot
- will be re-enabled after testing for regressions
@dragarcia any specifics I could help out with here? Using your image for most of my Postgres-usage, would love to see a 13 version :) I could help you look in to the compatability of exisiting extension if you'd like |
Hey @heliumbrain! 👋
I'm finishing up bumping the current versions of the existing extensions and testing them against Postgres 13. Should be pushing up the changes to this branch in the next few days. Would always be great to have another pair of eyes to see if everything is working 😄 . Just wondering, how are you currently using the Supabase Postgres image? Do you build it yourself with this repository, or do you get it from either the AWS/ DO marketplace? |
Cool @dragarcia! Sounds great. Happy to have a look once that is done. I'm using the image as-is for a few projects and I'm building my own based on yours for some. Never tried it from one of the marketplaces |
Alright, great! I'll update you again once I get these changes in so you can build the latest version yourself and try it out. |
- Make sure they can run in PG13
- Ensure configurations are the same as the current version
- Ensure configurations for arm and x86 are correct respectively - Open up new task mainly for starting postgres and running tests [WIP]
- Everything appears to have been installed without a problem
- now done and set in setup-system.yml
- link to /usr/bin
- also, starting of Postgres DB will be done here
- via dockerfile
* feat: add queries for additional metrics * chore: filter for realtime replication lag * chore: add realtime replication slot active status Co-authored-by: Wen Bo Xie <[email protected]>
feat: add queries for additional metrics (#59)
- make sure it's not there if pgbouncer is not installed
…stgres into feature/supabasePostgresV1.0
Boot time optimizations
- Returns an error since internal build does not use postgrest
- allows to build in stages
* fix: update log rotation location * fix: set up logrotation to execute every hour This helps avoid situation where postgres logs would fill up the disk under heavy usage conditions. Technically, it can still happen, but should be exceedingly rare outside of abusive conditions.
- DB was not starting immediately
…stgres into feature/supabasePostgresV1.0
fix: pg_stat_statements column names changed in PG13
- includes tweaking of fail2ban settings
- This one would take hours to complete and would just burn credits
Hi @heliumbrain, this took longer to complete than expected. I'll be merging this into If you're still keen on building and trying out the image yourself (while we're in the midst of preparing the images for the AWS and Digital Ocean Marketplaces), you can always do so from the
|
Primary Objectives
Secondary/ Resultant Objectives
Major
would be dictated by PostgresMinor
would be dictated by PostgresPatch
would be dictated by us13.3.0