In emacs (in whatever mode you recommend for accessing a Postgres database)
is it possible to type
select * from foo_<tab>
and somehow get autocomplete/help as to what tables are available in the database
( tables that start with
I would also like (yasnippet?) help writing long sql. eg.
select name from users where firstname.lastname@example.org' order by name limit 200;
I guess I will have to learn yasnippet for that.