To only have the working psql
tool to read/edit an existing database:
Windows OS
- Download the PostgreSQL binaries package: https://www.enterprisedb.com/download-postgresql-binaries
- Unpack the files from
bin
:psql.exe libcrypto-3-x64.dll libiconv-2.dll libintl-9.dll libpq.dll libssl-3-x64.dll libwinpthread-1.dll
- Execute
psql
from the folder
The binary itself should run without global PATH,
but to execute commands it seems to need the more
command from system32
Windows folder,
so the default system PATH is preferrable.
Thank you, this is the smallest (while still usable) build I found to run psq.exe without installing it.