public inbox for [email protected]
help / color / mirror / Atom feedCan't install Postgres version 18
9+ messages / 7 participants
[nested] [flat]
* Can't install Postgres version 18
@ 2026-06-12 12:07 Nicolai Madsen <[email protected]>
2026-06-12 14:27 ` Re: Can't install Postgres version 18 Adrian Klaver <[email protected]>
0 siblings, 1 reply; 9+ messages in thread
From: Nicolai Madsen @ 2026-06-12 12:07 UTC (permalink / raw)
To: pgsql-general
Hi
I had installed Postgres version 18 earlier on my PC, but I want to start
over, and remove all of the DB's I have made. I couldn't figure out how to
do that, so I googled and was told that I should uninstall postgres, stop
the service in the task manager, and then delete the folder under
C:/Program Files. AFter that I should restart the PC, and everything should
be gone, and ready to be reinstalled. I did that, but each time I am trying
to reinstall it, then it doesn't make any folders under Program Files, so
the service can't be started. It just give me this warning
[image: image.png]
If I try to reinstall it again, it tells me that it is already installed,
and asks me if I want to make a change, repair, or uninstallation. I have
tried to choose that it should install the docs also, and then it creates
the folder under program files, but it only contains the docs nothing else.
I have tried to restart the PC, reinstall it and tried google how to solve
this but no solution yet.
I hope you could guide me the right way.
--
Hilsen
Nicolai Friis Madsen
Attachments:
[image/png] image.png (6.0K, ../../CALk0SDQb1pnDBvT-fzrse42roGDZwvKTPHEybKYUR_A4DNa1gA@mail.gmail.com/3-image.png)
download | view image
^ permalink raw reply [nested|flat] 9+ messages in thread
* Re: Can't install Postgres version 18
2026-06-12 12:07 Can't install Postgres version 18 Nicolai Madsen <[email protected]>
@ 2026-06-12 14:27 ` Adrian Klaver <[email protected]>
2026-06-12 16:59 ` Re: Can't install Postgres version 18 Nicolai <[email protected]>
0 siblings, 1 reply; 9+ messages in thread
From: Adrian Klaver @ 2026-06-12 14:27 UTC (permalink / raw)
To: Nicolai Madsen <[email protected]>; pgsql-general
On 6/12/26 5:07 AM, Nicolai Madsen wrote:
> Hi
>
> I had installed Postgres version 18 earlier on my PC, but I want to
> start over, and remove all of the DB's I have made. I couldn't figure
> out how to do that, so I googled and was told that I should uninstall
> postgres, stop the service in the task manager, and then delete the
> folder under C:/Program Files. AFter that I should restart the PC, and
> everything should be gone, and ready to be reinstalled. I did that, but
> each time I am trying to reinstall it, then it doesn't make any folders
> under Program Files, so the service can't be started. It just give me
> this warning
>
> image.png
> If I try to reinstall it again, it tells me that it is already
> installed, and asks me if I want to make a change, repair, or
> uninstallation. I have tried to choose that it should install the docs
> also, and then it creates the folder under program files, but it only
> contains the docs nothing else.
>
> I have tried to restart the PC, reinstall it and tried google how to
> solve this but no solution yet.
>
> I hope you could guide me the right way.
1) Assuming you are using the EDB installer did you follow the
instructions here?:
https://www.enterprisedb.com/docs/supported-open-source/postgresql/uninstalling/
2) Did you try the repair option on the reinstall?
>
> --
> Hilsen
>
> Nicolai Friis Madsen
--
Adrian Klaver
[email protected]
^ permalink raw reply [nested|flat] 9+ messages in thread
* Re: Can't install Postgres version 18
2026-06-12 12:07 Can't install Postgres version 18 Nicolai Madsen <[email protected]>
2026-06-12 14:27 ` Re: Can't install Postgres version 18 Adrian Klaver <[email protected]>
@ 2026-06-12 16:59 ` Nicolai <[email protected]>
2026-06-12 17:10 ` Re: Can't install Postgres version 18 Adrian Klaver <[email protected]>
2026-06-12 21:14 ` Re: Can't install Postgres version 18 Adrian Klaver <[email protected]>
2026-06-14 10:12 ` Re: Can't install Postgres version 18 Jan Karremans <[email protected]>
0 siblings, 3 replies; 9+ messages in thread
From: Nicolai @ 2026-06-12 16:59 UTC (permalink / raw)
To: Adrian Klaver <[email protected]>; +Cc: pgsql-general
Hi
I did not use the edb to remove it, I used the installer file and then select remove. After that I delete the whole folder under c:/program file. Then a restart of the pc.
I have tried repair many times
Hilsen
Nicolai Friis
> Den 12. jun. 2026 kl. 16.27 skrev Adrian Klaver <[email protected]>:
>
> On 6/12/26 5:07 AM, Nicolai Madsen wrote:
>> Hi
>> I had installed Postgres version 18 earlier on my PC, but I want to start over, and remove all of the DB's I have made. I couldn't figure out how to do that, so I googled and was told that I should uninstall postgres, stop the service in the task manager, and then delete the folder under C:/Program Files. AFter that I should restart the PC, and everything should be gone, and ready to be reinstalled. I did that, but each time I am trying to reinstall it, then it doesn't make any folders under Program Files, so the service can't be started. It just give me this warning
>> image.png
>> If I try to reinstall it again, it tells me that it is already installed, and asks me if I want to make a change, repair, or uninstallation. I have tried to choose that it should install the docs also, and then it creates the folder under program files, but it only contains the docs nothing else.
>> I have tried to restart the PC, reinstall it and tried google how to solve this but no solution yet.
>> I hope you could guide me the right way.
>
> 1) Assuming you are using the EDB installer did you follow the instructions here?:
>
> https://www.enterprisedb.com/docs/supported-open-source/postgresql/uninstalling/
>
> 2) Did you try the repair option on the reinstall?
>
>> --
>> Hilsen
>> Nicolai Friis Madsen
>
>
> --
> Adrian Klaver
> [email protected]
^ permalink raw reply [nested|flat] 9+ messages in thread
* Re: Can't install Postgres version 18
2026-06-12 12:07 Can't install Postgres version 18 Nicolai Madsen <[email protected]>
2026-06-12 14:27 ` Re: Can't install Postgres version 18 Adrian Klaver <[email protected]>
2026-06-12 16:59 ` Re: Can't install Postgres version 18 Nicolai <[email protected]>
@ 2026-06-12 17:10 ` Adrian Klaver <[email protected]>
2 siblings, 0 replies; 9+ messages in thread
From: Adrian Klaver @ 2026-06-12 17:10 UTC (permalink / raw)
To: Nicolai <[email protected]>; +Cc: pgsql-general
On 6/12/26 9:59 AM, Nicolai wrote:
> Hi
>
> I did not use the edb to remove it, I used the installer file and then select remove. After that I delete the whole folder under c:/program file. Then a restart of the pc.
1) Confirm that you actually installed using the EDB installer.
2) Did you actually read the information at the link?
3) I'm going to say "I delete the whole folder under c:/program file."
is not helping.
>
> I have tried repair many times
>
>
> Hilsen
>
> Nicolai Friis
>
>> Den 12. jun. 2026 kl. 16.27 skrev Adrian Klaver <[email protected]>:
>>
>> On 6/12/26 5:07 AM, Nicolai Madsen wrote:
>>> Hi
>>> I had installed Postgres version 18 earlier on my PC, but I want to start over, and remove all of the DB's I have made. I couldn't figure out how to do that, so I googled and was told that I should uninstall postgres, stop the service in the task manager, and then delete the folder under C:/Program Files. AFter that I should restart the PC, and everything should be gone, and ready to be reinstalled. I did that, but each time I am trying to reinstall it, then it doesn't make any folders under Program Files, so the service can't be started. It just give me this warning
>>> image.png
>>> If I try to reinstall it again, it tells me that it is already installed, and asks me if I want to make a change, repair, or uninstallation. I have tried to choose that it should install the docs also, and then it creates the folder under program files, but it only contains the docs nothing else.
>>> I have tried to restart the PC, reinstall it and tried google how to solve this but no solution yet.
>>> I hope you could guide me the right way.
>>
>> 1) Assuming you are using the EDB installer did you follow the instructions here?:
>>
>> https://www.enterprisedb.com/docs/supported-open-source/postgresql/uninstalling/
>>
>> 2) Did you try the repair option on the reinstall?
>>
>>> --
>>> Hilsen
>>> Nicolai Friis Madsen
>>
>>
>> --
>> Adrian Klaver
>> [email protected]
^ permalink raw reply [nested|flat] 9+ messages in thread
* Re: Can't install Postgres version 18
2026-06-12 12:07 Can't install Postgres version 18 Nicolai Madsen <[email protected]>
2026-06-12 14:27 ` Re: Can't install Postgres version 18 Adrian Klaver <[email protected]>
2026-06-12 16:59 ` Re: Can't install Postgres version 18 Nicolai <[email protected]>
@ 2026-06-12 21:14 ` Adrian Klaver <[email protected]>
2 siblings, 0 replies; 9+ messages in thread
From: Adrian Klaver @ 2026-06-12 21:14 UTC (permalink / raw)
To: Nicolai <[email protected]>; +Cc: pgsql-general
On 6/12/26 9:59 AM, Nicolai wrote:
> Hi
>
> I did not use the edb to remove it, I used the installer file and then select remove. After that I delete the whole folder under c:/program file. Then a restart of the pc.
>
> I have tried repair many times
Starting fresh(no Postgres install) on a Windows 10 machine I did:
1) Download EDB installer for Postgres 18.4.
2) Ran installer.
3) Verified server was running via pgAdmin4.
4) To uninstall followed instructions from here:
https://www.enterprisedb.com/docs/supported-open-source/postgresql/uninstalling/
5) Ran installer again and verified server was running.
Not sure what the issue is you are having, though I suspect an
incomplete install that has has left stuff behind in the Registry.
I would suggest raising an issue an here:
https://github.com/EnterpriseDB/edb-installers/issues
From your original post:
'... remove all of the DB's I have made'
Unless this was some very large number I would think it would be easier
to just DROP DATABASE each one, then going through an uninstall/install
cycle.
>
>
> Hilsen
>
> Nicolai Friis
>
--
Adrian Klaver
[email protected]
^ permalink raw reply [nested|flat] 9+ messages in thread
* Re: Can't install Postgres version 18
2026-06-12 12:07 Can't install Postgres version 18 Nicolai Madsen <[email protected]>
2026-06-12 14:27 ` Re: Can't install Postgres version 18 Adrian Klaver <[email protected]>
2026-06-12 16:59 ` Re: Can't install Postgres version 18 Nicolai <[email protected]>
@ 2026-06-14 10:12 ` Jan Karremans <[email protected]>
2026-06-15 12:45 ` Re: Can't install Postgres version 18 Anthony DeBarros <[email protected]>
2 siblings, 1 reply; 9+ messages in thread
From: Jan Karremans @ 2026-06-14 10:12 UTC (permalink / raw)
To: Nicolai <[email protected]>; +Cc: Adrian Klaver <[email protected]>; pgsql-general
I would simply recommend not to run Postgres on Windows. You are mixing two distinctly different approaches to IT-systems. In that sense Linux is so much more akin to the world Postgres lives in.
Cheers,
Jan
Verstuurd vanaf mijn iPhone
> Op 13 jun 2026 om 23:23 heeft Nicolai <[email protected]> het volgende geschreven:
>
> Hi
>
> I did not use the edb to remove it, I used the installer file and then select remove. After that I delete the whole folder under c:/program file. Then a restart of the pc.
>
> I have tried repair many times
>
>
> Hilsen
>
> Nicolai Friis
>
>>> Den 12. jun. 2026 kl. 16.27 skrev Adrian Klaver <[email protected]>:
>>>
>>> On 6/12/26 5:07 AM, Nicolai Madsen wrote:
>>> Hi
>>> I had installed Postgres version 18 earlier on my PC, but I want to start over, and remove all of the DB's I have made. I couldn't figure out how to do that, so I googled and was told that I should uninstall postgres, stop the service in the task manager, and then delete the folder under C:/Program Files. AFter that I should restart the PC, and everything should be gone, and ready to be reinstalled. I did that, but each time I am trying to reinstall it, then it doesn't make any folders under Program Files, so the service can't be started. It just give me this warning
>>> image.png
>>> If I try to reinstall it again, it tells me that it is already installed, and asks me if I want to make a change, repair, or uninstallation. I have tried to choose that it should install the docs also, and then it creates the folder under program files, but it only contains the docs nothing else.
>>> I have tried to restart the PC, reinstall it and tried google how to solve this but no solution yet.
>>> I hope you could guide me the right way.
>>
>> 1) Assuming you are using the EDB installer did you follow the instructions here?:
>>
>> https://www.enterprisedb.com/docs/supported-open-source/postgresql/uninstalling/
>>
>> 2) Did you try the repair option on the reinstall?
>>
>>> --
>>> Hilsen
>>> Nicolai Friis Madsen
>>
>>
>> --
>> Adrian Klaver
>> [email protected]
>
>
^ permalink raw reply [nested|flat] 9+ messages in thread
* Re: Can't install Postgres version 18
2026-06-12 12:07 Can't install Postgres version 18 Nicolai Madsen <[email protected]>
2026-06-12 14:27 ` Re: Can't install Postgres version 18 Adrian Klaver <[email protected]>
2026-06-12 16:59 ` Re: Can't install Postgres version 18 Nicolai <[email protected]>
2026-06-14 10:12 ` Re: Can't install Postgres version 18 Jan Karremans <[email protected]>
@ 2026-06-15 12:45 ` Anthony DeBarros <[email protected]>
2026-06-15 13:01 ` Re: Can't install Postgres version 18 Arbol One <[email protected]>
0 siblings, 1 reply; 9+ messages in thread
From: Anthony DeBarros @ 2026-06-15 12:45 UTC (permalink / raw)
To: pgsql-general
Hello,
On Jun 14, 2026 at 6:12:52 AM, Jan Karremans <[email protected]> wrote:
> I would simply recommend not to run Postgres on Windows. You are mixing
> two distinctly different approaches to IT-systems. In that sense Linux is
> so much more akin to the world Postgres lives in.
>
> Cheers,
> Jan
>
>
>
Absolutely true. However, it’s good that EDB has provided a Windows
installer for PostgreSQL because nearly 2/3 of personal computer users run
Windows, and many, many people who are setting out to learn database
programming run on it.
That said, I have two observations, both related to experiences as author
of a book about learning SQL:
1. I have installed and uninstalled PostgreSQL and pgAdmin on Windows
dozens of times and had no issues at all as long as I used the official
installer/uninstaller. However, the uninstaller does not completely remove
all traces of the application, so for a fully clean uninstall you must
remove registry entries, delete left-behind application directories, etc.
2. Using PostgreSQL under Windows is far more complicated than running
it on macOS, where you can install PostgresApp and get up and running in
just minutes with very little to fiddle with. And that app is getting
better all the time with support for Postgres extensions. I steer everyone
towards Macs these days.
Cheers,
Anthony DeBarros
^ permalink raw reply [nested|flat] 9+ messages in thread
* Re: Can't install Postgres version 18
2026-06-12 12:07 Can't install Postgres version 18 Nicolai Madsen <[email protected]>
2026-06-12 14:27 ` Re: Can't install Postgres version 18 Adrian Klaver <[email protected]>
2026-06-12 16:59 ` Re: Can't install Postgres version 18 Nicolai <[email protected]>
2026-06-14 10:12 ` Re: Can't install Postgres version 18 Jan Karremans <[email protected]>
2026-06-15 12:45 ` Re: Can't install Postgres version 18 Anthony DeBarros <[email protected]>
@ 2026-06-15 13:01 ` Arbol One <[email protected]>
2026-06-15 13:11 ` Re: Can't install Postgres version 18 Nick Canale <[email protected]>
0 siblings, 1 reply; 9+ messages in thread
From: Arbol One @ 2026-06-15 13:01 UTC (permalink / raw)
To: Anthony DeBarros <[email protected]>; pgsql-general
I would also strongly recommend Linux over MacOS or WinOS. Having said that, I have also uninstalled PosgreSQL on my WinOS machine, so I find your advice proper and accurate.
Verily, with every difficulty there is relief (94:6)
________________________________
From: Anthony DeBarros <[email protected]>
Sent: June 15, 2026 8:45 AM
To: [email protected] <[email protected]>
Subject: Re: Can't install Postgres version 18
Hello,
On Jun 14, 2026 at 6:12:52 AM, Jan Karremans <[email protected]<mailto:[email protected]>> wrote:
I would simply recommend not to run Postgres on Windows. You are mixing two distinctly different approaches to IT-systems. In that sense Linux is so much more akin to the world Postgres lives in.
Cheers,
Jan
Absolutely true. However, it’s good that EDB has provided a Windows installer for PostgreSQL because nearly 2/3 of personal computer users run Windows, and many, many people who are setting out to learn database programming run on it.
That said, I have two observations, both related to experiences as author of a book about learning SQL:
1. I have installed and uninstalled PostgreSQL and pgAdmin on Windows dozens of times and had no issues at all as long as I used the official installer/uninstaller. However, the uninstaller does not completely remove all traces of the application, so for a fully clean uninstall you must remove registry entries, delete left-behind application directories, etc.
2. Using PostgreSQL under Windows is far more complicated than running it on macOS, where you can install PostgresApp and get up and running in just minutes with very little to fiddle with. And that app is getting better all the time with support for Postgres extensions. I steer everyone towards Macs these days.
Cheers,
Anthony DeBarros
^ permalink raw reply [nested|flat] 9+ messages in thread
* Re: Can't install Postgres version 18
2026-06-12 12:07 Can't install Postgres version 18 Nicolai Madsen <[email protected]>
2026-06-12 14:27 ` Re: Can't install Postgres version 18 Adrian Klaver <[email protected]>
2026-06-12 16:59 ` Re: Can't install Postgres version 18 Nicolai <[email protected]>
2026-06-14 10:12 ` Re: Can't install Postgres version 18 Jan Karremans <[email protected]>
2026-06-15 12:45 ` Re: Can't install Postgres version 18 Anthony DeBarros <[email protected]>
2026-06-15 13:01 ` Re: Can't install Postgres version 18 Arbol One <[email protected]>
@ 2026-06-15 13:11 ` Nick Canale <[email protected]>
0 siblings, 0 replies; 9+ messages in thread
From: Nick Canale @ 2026-06-15 13:11 UTC (permalink / raw)
To: Arbol One <[email protected]>; +Cc: Anthony DeBarros <[email protected]>; pgsql-general
I would recommend either installing it on WSL or through docker or both. If
you're not familiar with WSL or docker this would be a great opportunity to
learn about them!
On Mon, Jun 15, 2026 at 9:01 AM Arbol One <[email protected]> wrote:
> I would also strongly recommend Linux over MacOS or WinOS. Having said
> that, I have also uninstalled PosgreSQL on my WinOS machine, so I find your
> advice proper and accurate.
>
> Verily, with every difficulty there is relief (94:6)
> ------------------------------
> *From:* Anthony DeBarros <[email protected]>
> *Sent:* June 15, 2026 8:45 AM
> *To:* [email protected] <[email protected]>
> *Subject:* Re: Can't install Postgres version 18
>
> Hello,
>
> On Jun 14, 2026 at 6:12:52 AM, Jan Karremans <[email protected]>
> wrote:
>
> I would simply recommend not to run Postgres on Windows. You are mixing
> two distinctly different approaches to IT-systems. In that sense Linux is
> so much more akin to the world Postgres lives in.
>
> Cheers,
> Jan
>
>
>
> Absolutely true. However, it’s good that EDB has provided a Windows
> installer for PostgreSQL because nearly 2/3 of personal computer users run
> Windows, and many, many people who are setting out to learn database
> programming run on it.
>
> That said, I have two observations, both related to experiences as author
> of a book about learning SQL:
>
>
> 1. I have installed and uninstalled PostgreSQL and pgAdmin on Windows
> dozens of times and had no issues at all as long as I used the official
> installer/uninstaller. However, the uninstaller does not completely remove
> all traces of the application, so for a fully clean uninstall you must
> remove registry entries, delete left-behind application directories, etc.
>
> 2. Using PostgreSQL under Windows is far more complicated than running
> it on macOS, where you can install PostgresApp and get up and running in
> just minutes with very little to fiddle with. And that app is getting
> better all the time with support for Postgres extensions. I steer everyone
> towards Macs these days.
>
>
> Cheers,
>
> Anthony DeBarros
>
>
>
^ permalink raw reply [nested|flat] 9+ messages in thread
end of thread, other threads:[~2026-06-15 13:11 UTC | newest]
Thread overview: 9+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2026-06-12 12:07 Can't install Postgres version 18 Nicolai Madsen <[email protected]>
2026-06-12 14:27 ` Adrian Klaver <[email protected]>
2026-06-12 16:59 ` Nicolai <[email protected]>
2026-06-12 17:10 ` Adrian Klaver <[email protected]>
2026-06-12 21:14 ` Adrian Klaver <[email protected]>
2026-06-14 10:12 ` Jan Karremans <[email protected]>
2026-06-15 12:45 ` Anthony DeBarros <[email protected]>
2026-06-15 13:01 ` Arbol One <[email protected]>
2026-06-15 13:11 ` Nick Canale <[email protected]>
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox