How do you debug functions using postgres?

I use pgAdmin III 1.8.4 and consider him a stern lover.

When writing stored procedures (functions), there is no compilation of queries. So I don’t know if my function will work until I name it.

How do other people work on this shortcoming? (Except for the first time for the first time: p)

+5
source share
2 answers

EnterpriceDBincludes a PL / PGSQL debugger that you can use to execute code.

+3
source

unit test . , , unit test ( ), , , ... , - .

+2

All Articles