M
M
Max Trophy2017-01-17 12:51:35
PostgreSQL
Max Trophy, 2017-01-17 12:51:35

How to call a Posgresql function from the Putty terminal and see the result in the same place?

just sql command is not working..

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
akzhan, 2017-01-17
@kapitoly

Open a connection, check that psql is starting.
And work in it.
But I recommend installing pgcli.com
right away PS: there is also pgAdmin 4, just open access to it from your DBMS.

K
ky0, 2017-01-17
@ky0

psql -c "select now();"

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question