Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Pgsql General > Debugging Pl/Pg...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 8 Topic 15227 of 17602
Post > Topic >>

Debugging Pl/PgSQL functions with the debug contrib module

by peter.geoghegan86@[EMAIL PROTECTED] ("Peter Geoghegan") Apr 9, 2008 at 11:15 AM

Hello,

I'm developing a large postgreSQL database front end application on
win32. I'd consider the ability to debug Pl/PgSQL functions highly
desirable. Until now, I've been using RAISE NOTICE debugging, which is
equivalent to printf debugging, and is sub optimal.

I am aware of the possibility of debugging Pl/PgSQL functions through
edb-debugger. I am unable to get this to work.

According to the PgAdmin III 1.8.2 do***entation, "In order to use the
debugger, a plugin is required on your server. This is included by
default with EnterpriseDB, and is available for download on pgFoundry.
It is installed as a contrib module with the Windows distribution of
PostgreSQL 8.3 and above". When I recently installed postgreSQL 8.3.1
from the win32 MSI binary distribution, there was no reference to this
contrib module. There was also no reference to it in the bundled
"stack builder" application. What did I miss?

It is not apparent to me how I can test for the absence or presence of
this module within PgAdmin III. In the tools menu, there is a
"debugging" tab, but it is disabled in all of the contexts that I've
tried so far. I downloaded Lightning debugger, a tool that expressly
debugs Pl/PgSQL. When I attempt to connect to my database, a message
box appears:
---------------------------
WARNING
---------------------------
Debugger not sup****ted:

Database missing debugger API functions
---------------------------
OK
---------------------------


The only available on PgFoundry is a source distribution:
http://pgfoundry.org/frs/?group_id=1000175
. Building this would
necessitate setting up a mingw build environment, which would be a lot
of effort.

What is the simplest, most direct way of enabling debugging of
Pl/PgSQL under these cir***stances?

Thanks,

Peter Geoghegan

-- 
Sent via pgsql-general mailing list (pgsql-general@[EMAIL PROTECTED]
)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general
 




 8 Posts in Topic:
Debugging Pl/PgSQL functions with the debug contrib module
peter.geoghegan86@[EMAIL   2008-04-09 11:15:52 
Re: Debugging Pl/PgSQL functions with the debug contrib
dev@[EMAIL PROTECTED] (R  2008-04-09 11:32:40 
Re: Debugging Pl/PgSQL functions with the debug contrib module
peter.geoghegan86@[EMAIL   2008-04-09 11:50:09 
R: Debugging Pl/PgSQL functions with the debug contrib module
paolo@[EMAIL PROTECTED]   2008-04-09 13:01:53 
Re: Debugging Pl/PgSQL functions with the debug contrib
dev@[EMAIL PROTECTED] (R  2008-04-09 12:22:04 
Re: Debugging Pl/PgSQL functions with the debug contrib
rod@[EMAIL PROTECTED] (&  2008-04-09 14:17:14 
Re: Debugging Pl/PgSQL functions with the debug contrib module
dpage@[EMAIL PROTECTED]   2008-04-09 12:27:18 
Re: R: Debugging Pl/PgSQL functions with the debug contrib modul
peter.geoghegan86@[EMAIL   2008-04-09 14:21:33 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Mon Dec 1 19:55:38 CST 2008.