logoalt Hacker News

jhoechtlyesterday at 10:49 AM4 repliesview on HN

Emacs with databases without org would be interessing. I now there is sql-mode which supposedly works to connect with an inferior process but a tuorial about that would be nice


Replies

emarsdenyesterday at 12:49 PM

You may be interested in PGmacs, a viewing/editing interface for PostgreSQL.

https://github.com/emarsden/pgmacs

(self-plug)

sceaduyesterday at 7:24 PM

I also use: https://github.com/kostafey/ejc-sql for stuff not natively supported by sql-mode in emacs FWIW

mediumsmartyesterday at 11:54 AM

I second that and would be interested in the sqlite-mode version of the tutorial.

foobarquxyesterday at 10:28 PM

    M-x sql-sqlite
    Then C-c C-c on paragraph you want to send/execute
    M-x sql-send- for the other commands
    The mode is called sql-interactive-mode
That's it.