public inbox for [email protected]  
help / color / mirror / Atom feed
From: J.F. Oster <[email protected]>
To: jarek <[email protected]>
Cc: [email protected]
Subject: Re: SQL formatting
Date: Tue, 27 Oct 2015 15:48:23 +0300
Message-ID: <[email protected]> (raw)
In-Reply-To: <[email protected]>
References: <[email protected]>
List-Unsubscribe:  <mailto:[email protected]?body=unsub%20pgadmin-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/[email protected]

http://git.postgresql.org/gitweb?p=pgadmin3.git;a=commitdiff;h=40509183da5524e4ed499ab6eece20a4fdda3...

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.



-- 
Sent via pgadmin-hackers mailing list ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgadmin-hackers




view thread (2+ messages)

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected]
  Subject: Re: SQL formatting
  In-Reply-To: <[email protected]>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox