From da21b4afe06212db6966a30d31197d1ea6243256 Mon Sep 17 00:00:00 2001 From: drothery-edb Date: Thu, 31 Aug 2023 14:06:29 -0400 Subject: [PATCH 1/4] PostgreSQL: Mac uninstall --- .../postgresql/uninstalling.mdx | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/advocacy_docs/supported-open-source/postgresql/uninstalling.mdx b/advocacy_docs/supported-open-source/postgresql/uninstalling.mdx index c48f49210f6..a127af90d75 100644 --- a/advocacy_docs/supported-open-source/postgresql/uninstalling.mdx +++ b/advocacy_docs/supported-open-source/postgresql/uninstalling.mdx @@ -1,5 +1,6 @@ --- title: "Uninstalling PostgreSQL" +navTitle: "Uninstalling" legacyRedirects: - "/edb-docs/d/postgresql/installation-getting-started/installation-guide/13.0/uninstalling_postgresql.html" - "/edb-docs/d/postgresql/installation-getting-started/installation-guide-installers/11/PostgreSQL_Installation_Guide.1.10.html" @@ -51,15 +52,21 @@ These instructions apply if you used EDB's interactive Mac installer to install To uninstall PostgreSQL on a Mac system: -1. Assume the identity of an operating system superuser, and navigate into the folder where the uninstaller resides: +1. Assume the identity of an operating system superuser. - `/Library/PostgreSQL/` +1. Navigate into the folder where the uninstaller resides: - Where `version` is the version of PostgreSQL you installed. + ``` + cd /Library/PostgreSQL/ + ``` + + Where `version` is the version of PostgreSQL you installed. 1. Invoke the uninstaller: - `open uninstall-postgresql.app` + ``` + open uninstall-postgresql.app + ``` 1. If prompted, provide a password that allows the uninstaller to make changes to your system. From 83a23d10d5f4151e95a915dbac46fabd14ea1f89 Mon Sep 17 00:00:00 2001 From: drothery-edb Date: Wed, 6 Sep 2023 10:18:25 -0400 Subject: [PATCH 2/4] updating the command for MacOS --- .../postgresql/uninstalling.mdx | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/advocacy_docs/supported-open-source/postgresql/uninstalling.mdx b/advocacy_docs/supported-open-source/postgresql/uninstalling.mdx index a127af90d75..4a8b999ac8a 100644 --- a/advocacy_docs/supported-open-source/postgresql/uninstalling.mdx +++ b/advocacy_docs/supported-open-source/postgresql/uninstalling.mdx @@ -52,22 +52,14 @@ These instructions apply if you used EDB's interactive Mac installer to install To uninstall PostgreSQL on a Mac system: -1. Assume the identity of an operating system superuser. - -1. Navigate into the folder where the uninstaller resides: - - ``` - cd /Library/PostgreSQL/ - ``` - - Where `version` is the version of PostgreSQL you installed. - 1. Invoke the uninstaller: ``` - open uninstall-postgresql.app + sudo /Library/PostgreSQL//uninstall-postgresql.app/Contents/MacOS/installbuilder.sh ``` + Where `` is the version of PostgreSQL you installed. + 1. If prompted, provide a password that allows the uninstaller to make changes to your system. The uninstaller opens and asks if you want to uninstall the entire application or individual components. From cf383cfa61c90f6ac569aac23b84ae7d75c3804d Mon Sep 17 00:00:00 2001 From: drothery-edb Date: Fri, 8 Sep 2023 08:24:11 -0400 Subject: [PATCH 3/4] incorporated Dj's comments --- .../supported-open-source/postgresql/uninstalling.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/advocacy_docs/supported-open-source/postgresql/uninstalling.mdx b/advocacy_docs/supported-open-source/postgresql/uninstalling.mdx index 4a8b999ac8a..865f095d106 100644 --- a/advocacy_docs/supported-open-source/postgresql/uninstalling.mdx +++ b/advocacy_docs/supported-open-source/postgresql/uninstalling.mdx @@ -55,12 +55,12 @@ To uninstall PostgreSQL on a Mac system: 1. Invoke the uninstaller: ``` - sudo /Library/PostgreSQL//uninstall-postgresql.app/Contents/MacOS/installbuilder.sh + open /Library/PostgreSQL//uninstall-postgresql.app/Contents/MacOS/installbuilder.sh ``` Where `` is the version of PostgreSQL you installed. -1. If prompted, provide a password that allows the uninstaller to make changes to your system. +1. You're prompted for a password. If your user has admin rights on macOS, enter your password. Otherwise, enter the user name and password of a user with admin rights. The uninstaller opens and asks if you want to uninstall the entire application or individual components. From 4980cdba7fb4ebb30251eb91ac2c1e06c3aa793e Mon Sep 17 00:00:00 2001 From: Dj Walker-Morgan <126472455+djw-m@users.noreply.github.com> Date: Fri, 8 Sep 2023 14:52:00 +0100 Subject: [PATCH 4/4] Update advocacy_docs/supported-open-source/postgresql/uninstalling.mdx --- advocacy_docs/supported-open-source/postgresql/uninstalling.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/advocacy_docs/supported-open-source/postgresql/uninstalling.mdx b/advocacy_docs/supported-open-source/postgresql/uninstalling.mdx index 865f095d106..df6b223a12f 100644 --- a/advocacy_docs/supported-open-source/postgresql/uninstalling.mdx +++ b/advocacy_docs/supported-open-source/postgresql/uninstalling.mdx @@ -55,7 +55,7 @@ To uninstall PostgreSQL on a Mac system: 1. Invoke the uninstaller: ``` - open /Library/PostgreSQL//uninstall-postgresql.app/Contents/MacOS/installbuilder.sh + open /Library/PostgreSQL//uninstall-postgresql.app ``` Where `` is the version of PostgreSQL you installed.