Command line interface for postgresql