Home Download Buy Blog Forum Support

psql plugin?

psql plugin?

Postby verxile on Sat Mar 09, 2013 1:44 am

Hi, I love ST and i was wondering if its possible to write plugin work with a db server to execute queries. In my case i'm using postgres, which lacks any decent clients and i'm hoping i could leverage ST to accomplish what i'm looking for. If anyone can tell me to what extent this is possible, would be great if i could create a plugin for this, and being able to manage different connections.
verxile
 
Posts: 1
Joined: Sat Mar 09, 2013 1:36 am

Re: psql plugin?

Postby Bob3000 on Thu Apr 11, 2013 4:03 am

Yes I believe it's possible. I had hoped to work on one. For now I'm spending most of my time in SQL Server so I made it so sqlcmd, Microsoft's weak attempt and a command line sql client can have sql sent to it from sublime. See my github repo at https://github.com/wuub/SublimeREPL/pull/153.


The same idea can be applied to psql. I make use of the existing SublimeREPL and added a sqlcmd SublimeREPL. I might get around to a psql one, but I wouldn't hold my breath unless I run into some Postgre work that would push me to get it done.

Good luck
Bob
Bob3000
 
Posts: 1
Joined: Thu Apr 11, 2013 3:59 am


Return to Plugin Development

Who is online

Users browsing this forum: TWSH, Yahoo [Bot], yurarty and 8 guests