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 foo_
)
I would also like (yasnippet?) help writing long sql. eg.
select name from users where email='abc@def.com' order by name limit 200;
I guess I will have to learn yasnippet for that.