From: | Gevik Babakhani <pgdev(at)xs4all(dot)nl> |
---|---|
To: | pgadmin-hackers(at)postgresql(dot)org |
Subject: | PgAdmin crash (1.10.0 beta4) + possible fix |
Date: | 2009-05-25 15:10:10 |
Message-ID: | 4A1AB4D2.7020402@xs4all.nl |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgadmin-hackers |
PgAdmin crashes when browsing functions that only have a single out
parameters without a default value (BTW default values on out parameters
are not supported anyways)
The problem is in pgFunction.cpp(324).
To replicate the crash:
---------------------------------------------------------------------------
CREATE OR REPLACE FUNCTION out_test_crash_3(OUT integer)
RETURNS integer AS
$BODY$
begin
$1 = 1000;
end;
$BODY$
LANGUAGE 'plpgsql'
--------------------------------------------------------------------------
Then:
Refresh the function node in the tree and click on the function name above.
Possibe fix:
Included.
--
Regards,
Gevik
Attachment | Content-Type | Size |
---|---|---|
func-patch-1.patch | text/plain | 575 bytes |
From | Date | Subject | |
---|---|---|---|
Next Message | Ashesh Vashi | 2009-05-26 05:45:12 | Re: PgAdmin crash (1.10.0 beta4) + possible fix |
Previous Message | Gevik Babakhani | 2009-05-25 13:16:33 | SQL Editor and tabs (bug?) |