PDA

View Full Version : Clear The History Of Postgresql commands


sashi116
16th September 2009, 17:02
How to clear the history of postgresql commands in command line

sashi116
16th September 2009, 17:05
sudo gvim /home/user/.psql_history
press enter

enter password

then open the file if we want we can clear all the commands or the necessary commands and save the file.

sashi116
16th September 2009, 17:07
Can we Have two servers in a system like postgresql and mysql in a system

falko
17th September 2009, 15:06
Can we Have two servers in a system like postgresql and mysql in a system

Yes, should be no problem. :)

sashi116
17th September 2009, 16:45
I think it will be a probem.

falko
18th September 2009, 12:23
Why? They are using different ports.