Clear The History Of Postgresql commands

Discussion in 'HOWTO-Related Questions' started by sashi116, Sep 16, 2009.

  1. sashi116

    sashi116 New Member

    How to clear the history of postgresql commands in command line
     
  2. sashi116

    sashi116 New Member

    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.
     
  3. sashi116

    sashi116 New Member

    two databases servers in a system

    Can we Have two servers in a system like postgresql and mysql in a system
     
  4. falko

    falko Super Moderator Howtoforge Staff

    Yes, should be no problem. :)
     
  5. sashi116

    sashi116 New Member

    2 severs in a system

    I think it will be a probem.
     
  6. falko

    falko Super Moderator Howtoforge Staff

    Why? They are using different ports.
     

Share This Page