Re: IDE for function/stored proc development.

From: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
To: Tim Uckun <timuckun(at)gmail(dot)com>, pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: IDE for function/stored proc development.
Date: 2016-09-03 19:38:46
Message-ID: dcdd189e-571c-3d0d-7bf0-262539e40d31@aklaver.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 09/03/2016 02:36 AM, Tim Uckun wrote:
> Does anybody use an IDE for doing heavy duty stored proc development?
> PGadmin is decent but I am looking for something better.
>
> I have tried jetbrains with the db browser plugin and on the surface it
> seems like a good choice but it's really buggy when working with procs.
>
> I also tried datagrip by jetbrains and that too seems to be all over the
> place. It has some amazing features for working with the database but
> some of the simplest stuff is lacking or half baked.
>
> I looked at atom and could not find any useful plugins for PG.
>
> Anybody have experience with something awesome?

Yes.

Short answer:

psql

Long answer:

psql is the glue that ties together my work.

1) Working in it I have access to \e for editing general scripts and
\ef for function scripts. Coming in 9.6 \ev for working on views. Handy
for testing out ideas. It is also possible to use DO to try out code
snippets.

2) For the most part the objects I create originate as scripts that I
can run either from within psql using \i or pass in with -f or a
redirection.

3) I use Sqitch(http://sqitch.org/) to manage the object deployment and
it uses psql when talking to Postgres.

Currently I use Atom to do my heavy duty text editing, but I am not tied
to it as any competent text editor can generate/work with the scripts I
mention above. Makes it easy to switch from machine to machine with out
dragging an IDE along.

--
Adrian Klaver
adrian(dot)klaver(at)aklaver(dot)com

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Rich Shepard 2016-09-03 21:19:29 Upgrading using pg_dumpall
Previous Message Michael Sheaver 2016-09-03 16:19:58 Re: IDE for function/stored proc development.