| From: | "J(dot)F(dot) Oster" <jinfroster(at)mail(dot)ru> |
|---|---|
| To: | jarek <jarek(at)poczta(dot)srv(dot)pl> |
| Cc: | pgadmin-hackers(at)postgresql(dot)org |
| Subject: | Re: SQL formatting |
| Date: | 2015-10-27 12:48:23 |
| Message-ID: | 534200955.20151027154823@mail.ru |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgadmin-hackers |
Hello jarek,
Upcoming release will have a new feature, external formatting tool.
You can setup pgAdmin to invoke your script with Ctrl-Shift-F in the
query editor. There are a few other utilities available, see
discussion http://www.postgresql.org/message-id/110456625.20150503104217@mail.ru
Beta is available already, please test it: http://www.postgresql.org/ftp/pgadmin3/release/v1.22.0-beta1/
Regarding integration, it's questionable because Python is not
available out of the box on every supported platform...
Monday, October 26, 2015, 11:50:59 AM, you wrote:
j> Hello!
j> First of all I'd like to thank all the pgAdmin developers for a great
j> job!
j> As I like to have nice formatted SQL, I've written simple script in
j> python to format SQL procedures. It would be nice, to integrate it with
j> pgAdmin.
j> This script doesn't cover all PostgreSQL structures, but is enough for
j> me. If there will be some interest, I can improve it.
j> I think that it should be enough to add call to this script from SQL
j> query dialog menu. I've no experience with wxWidgets, so it may be
j> better if someone more skilled will integrate it.
j> best regards
j> Jarek Tabor
--
Best regards,
J.F.
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Ashesh Vashi | 2015-10-28 17:04:38 | pgAdmin 4 commit: Resolved couple of small bugs introduced during datab |
| Previous Message | jarek | 2015-10-26 08:50:59 | SQL formatting |