All Questions
3 questions
0
votes
1
answer
945
views
Reduce the permission of a file in linux
psql -h 127.0.0.1 throwing this error :
.pgpass has group or world access; permissions should be u=rw (0600) or less
How do I reduce the permissions currently it shows : -rwxrwxrwx
1
vote
1
answer
869
views
Run shell and check port of specific postgresql version in ubuntu
Several versions of postgresql (9.3, 9.4 and 9.5) on a server with different ports and I want to start the shell of a specific one. If I run the shell:
psql
It returns:
psql (9.5.0, server 9.3.10)
...
6
votes
3
answers
3k
views
To have Vim Psql's editor
I have a Fresh Ubuntu installation.
I have no personal dot-files active.
I run unsuccessfully \e file.sql in Psql, when I have the following in my .bashrc, since Nano opens instead of Vim
export ...