Home > Archive > PostgreSQL Discussion > December 2005 > debugging techniques









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author debugging techniques
Klein Balázs

2005-12-27, 8:24 pm

I am debugging a plpgsql function.
I came from an MSSQL server and I am missing a few techniques here so I
apologize for using MS as my reference.

Is there a variable that stores the number of records the last statement
effected? - in MS it was @@RowCount, I could constantly check its value as I
stepped through the code

Is there a quick way to see a recordset in during the debug (not just the
final recordset) - in MS the debugger always displayed the result of Select
statements so by inserting one I could check intermediary results.

(I am experimenting with EMS SQL Manager now to step through the code).

Thanks.
SWK


---------------------------(end of broadcast)---------------------------
TIP 5: don't forget to increase your free space map settings

Sponsored Links





Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive | Programming forum archive

Copyright 2008 droptable.com