syntax highlighting in emacs after \e in psql - Mailing list pgsql-general

From MikeW
Subject syntax highlighting in emacs after \e in psql
Date
Msg-id 8989a0da-5f46-42af-9836-f636067a204f@r9g2000vbw.googlegroups.com
Whole thread Raw
Responses Re: syntax highlighting in emacs after \e in psql  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-general
Hi All,

I'm sure somebody has already solved this problem on Unix.

When I open *.sql files in my emacs it highlights the SQL and Postgres
syntax correctly. But does anybody know how to make it behave like
that also after invoking \e command in psql (so that I don't need to
say: M-x sql-mode each time). My .profile contains: PSQL_EDITOR=emacs;
export PSQL_EDITOR.

Thanks!
MikeW

pgsql-general by date:

Previous
From: "Mark Watson"
Date:
Subject: Re: encoding and LC_COLLATE
Next
From: Scott Marlowe
Date:
Subject: Re: Upgrade 8.4 with contrib to 9.1