summarylogtreecommitdiffstats
path: root/postgresql.install
diff options
context:
space:
mode:
Diffstat (limited to 'postgresql.install')
-rw-r--r--postgresql.install14
1 files changed, 0 insertions, 14 deletions
diff --git a/postgresql.install b/postgresql.install
index 699efe692afd..0d23d474a0c2 100644
--- a/postgresql.install
+++ b/postgresql.install
@@ -9,7 +9,6 @@ post_install() {
useradd -c 'PostgreSQL user' -u 88 -g postgres -d '/var/lib/postgres' -s /bin/bash postgres
passwd -l postgres >/dev/null
fi
- systemd-tmpfiles --create postgresql.conf
if [ ! -d '/var/lib/postgres/data' ]; then
mkdir -p '/var/lib/postgres/data'
chown postgres:postgres '/var/lib/postgres/data'
@@ -23,17 +22,4 @@ post_upgrade() {
if [ "$postgres_shell" = "/sbin/nologin" ]; then
chsh -s /bin/bash postgres
fi
- if [ $(vercmp $2 '9.2.1-2') -lt 0 ]; then
- echo "Note: The Unix domain socket location has changed; be sure to"
- echo " restart any local applications using libpq.so."
- fi
-}
-
-post_remove() {
- if getent passwd postgres >/dev/null; then
- userdel postgres
- fi
- if getent group postgres >/dev/null; then
- groupdel postgres
- fi
}