-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
feat: add support for Postgres 14 #7644
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
Merged
Merged
Changes from 20 commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
c0eef47
Build CI with Postgres 14
cbaker6 e1a238e
Merge remote-tracking branch 'upstream/master' into postgres14
cbaker6 3708b3d
Switch users when editing file
cbaker6 f2e6175
attempt switching users
cbaker6 623a139
don't run config script for now
cbaker6 c8eab3a
fix postgres env var
cbaker6 4f9f75f
Merge remote-tracking branch 'upstream/master' into postgres14
cbaker6 b7b6b1d
try config script
cbaker6 6586c6c
fix config script
cbaker6 cadb3f5
Merge branch 'master' into postgres14
cbaker6 2b9533d
Merge branch 'alpha' into postgres14
cbaker6 4dc2f31
Merge branch 'alpha' into postgres14
cbaker6 33a4105
Postgres 14 adapter fixes
cbaker6 a34d744
Merge remote-tracking branch 'upstream/alpha' into postgres14
cbaker6 3806397
test aggregate on Postgres
cbaker6 1a0e4a3
remove postgres env var from CI
cbaker6 6958d77
improve postgres count change
cbaker6 a126e15
revert last change
cbaker6 b363d81
reduce lines
cbaker6 dcd7de0
nits
cbaker6 d14d560
nit
cbaker6 70864ee
Point badges to alpha branch
cbaker6 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
#!/bin/bash | ||
|
||
set -e | ||
|
||
echo "[SCRIPT] Before Script :: Setup Parse Postgres configuration file" | ||
|
||
# DB Version: 13 | ||
# OS Type: linux | ||
# DB Type: web | ||
# Total Memory (RAM): 6 GB | ||
# CPUs num: 1 | ||
# Data Storage: ssd | ||
|
||
PGPASSWORD=postgres psql -v ON_ERROR_STOP=1 -h localhost -U postgres <<-EOSQL | ||
ALTER SYSTEM SET max_connections TO '200'; | ||
ALTER SYSTEM SET shared_buffers TO '1536MB'; | ||
ALTER SYSTEM SET effective_cache_size TO '4608MB'; | ||
ALTER SYSTEM SET maintenance_work_mem TO '384MB'; | ||
ALTER SYSTEM SET checkpoint_completion_target TO '0.9'; | ||
ALTER SYSTEM SET wal_buffers TO '16MB'; | ||
ALTER SYSTEM SET default_statistics_target TO '100'; | ||
ALTER SYSTEM SET random_page_cost TO '1.1'; | ||
ALTER SYSTEM SET effective_io_concurrency TO '200'; | ||
ALTER SYSTEM SET work_mem TO '3932kB'; | ||
ALTER SYSTEM SET min_wal_size TO '1GB'; | ||
ALTER SYSTEM SET max_wal_size TO '4GB'; | ||
SELECT pg_reload_conf(); | ||
EOSQL | ||
|
||
exec "$@" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.