diff options
author | Dominic | 2022-04-23 00:39:22 +0200 |
---|---|---|
committer | Dominic | 2022-04-23 00:39:22 +0200 |
commit | e932193dcb20e74e69ad5f99ad8e184683a00a1f (patch) | |
tree | 3cfa6e46edbd6ad4df5489e5eaf8b17aee0cc384 /postgresql.install | |
download | aur-e932193dcb20e74e69ad5f99ad8e184683a00a1f.tar.gz |
postgresql13 13.6-1
Diffstat (limited to 'postgresql.install')
-rw-r--r-- | postgresql.install | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/postgresql.install b/postgresql.install new file mode 100644 index 000000000000..c46a58d5f83d --- /dev/null +++ b/postgresql.install @@ -0,0 +1,7 @@ +post_upgrade() { + # Prints the warning message if the database version on disk + # does not match the PostgreSQL major version. + if [ -d /var/lib/postgres/data ]; then + /usr/bin/postgresql-check-db-dir /var/lib/postgres/data || true + fi +} |