Sign up ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Is there some setting or package that I could use to give syntax highlighting to psql (the PostgreSQL shell)?

share|improve this question
Shouldn't this be a stackoverflow question? In any case I'm also looking for coloured display of psql results or help files, e.g. for \h select –  nikola Nov 1 '13 at 14:55

1 Answer 1

Any particular editor? Vim syntax file psql (Tutorial for installing).

share|improve this answer
I want the syntax highlighting in theshell not in a editor –  tutuca May 10 '11 at 22:26

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.