From: | Szymon Lipiński <mabewlun(at)gmail(dot)com> |
---|---|
To: | Thomas Kellerer <spam_eater(at)gmx(dot)net> |
Cc: | PostgreSQL <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: Debugging code on server? |
Date: | 2016-05-04 18:37:46 |
Message-ID: | CAFjNrYunV3cJvd05JFMxkUVW=nOVAFZq-=cGHYvsBJ+BwzT0rg@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On 4 May 2016 at 20:30, Thomas Kellerer <spam_eater(at)gmx(dot)net> wrote:
> Guyren Howe schrieb am 04.05.2016 um 18:43:
>
>> This is a fork from my "Love your database" question. It's a
>> separable concern, so I moved it here.
>>
>> Let's say I want to use Postgres' *amazing* support for lots of
>> languages. I want to use Javascript or PERL or Ruby or something. How
>> do I debug the code?
>>
>> I can imagine things you might set up: using LISTEN/NOTIFY to a
>> simple logger that would let you see what's going on. There are
>> breakpoints and such in PGAdmin, but I'll be that doesn't work for
>> other languages.
>>
>>
> There is a unit test framework for Postgres
>
> http://pgtap.org/
>
>
>
Right, and it is quite painful to use compared to writing tests as some
external program.
--
regards Szymon Lipiński
From | Date | Subject | |
---|---|---|---|
Next Message | Guyren Howe | 2016-05-04 18:46:37 | Re: Thoughts on "Love Your Database" |
Previous Message | Szymon Lipiński | 2016-05-04 18:36:58 | Re: Thoughts on "Love Your Database" |