Question about Postgresql 9.5.25 with pgAdmin 3 that comes installed along with it: how to use command line instead of graphical interface?

Asked

Viewed 15 times

-2

Use the Postgresql 9.5.25 and along with it comes the pgAdmin 3 installed. However, I don’t want to use the graphical interface of the database. So I go in the same folder as the pgAdmin3.exe is found and I open the file psql.exe. However, nothing happens when I open this last file. So how do I run the command lines of Postgresql 9.5.25 without having to use the graphical interface? Because the suggestions I found on Google for using Postgresql in the command prompt involved psql.exe; but in mine, nothing happens when I open this file. Uninstalling and installing a newer version in place is not a possible solution as the company where I work uses this database in that version and I am not allowed to change.

  • If you have done the standard installation of postgres. I could search for the application: SQL Shell (psql). This is the command line utility of postgres..

  • @Danizavtz Yes, it is this same file that I am trying to open, as I described in my question. Only the problem is I click to open and nothing happens.

  • My version is a little younger, but it follows the location from where my psql runs: "C:\Program Files\PostgreSQL\13\scripts\runpsql.bat". Usually I do a search for this program in the start menu. This way I click start and type: psql. Works directly.

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.