We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b00fb28 + 090f825 commit d296c28Copy full SHA for d296c28
postgres-setup.sh
@@ -3,6 +3,7 @@ POSTGRES_VERSION=$1
3
MAX_CONNECTIONS=$2
4
if [ $POSTGRES_VERSION -ne 13 ]; then
5
sudo apt-get remove postgresql postgresql-13
6
+ sudo apt-get update
7
sudo apt-get install postgresql-$POSTGRES_VERSION postgresql-contrib-$POSTGRES_VERSION
8
sudo sed -i 's/port = 5433/port = 5432/' /etc/postgresql/$POSTGRES_VERSION/main/postgresql.conf
9
fi
0 commit comments