| From: | Ashesh Vashi <ashesh(dot)vashi(at)enterprisedb(dot)com> |
|---|---|
| To: | Gevik Babakhani <pgdev(at)xs4all(dot)nl> |
| Cc: | pgadmin-hackers(at)postgresql(dot)org |
| Subject: | Re: PgAdmin crash (1.10.0 beta4) + possible fix |
| Date: | 2009-05-26 05:45:12 |
| Message-ID: | 4A1B81E8.5010105@enterprisedb.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgadmin-hackers |
Hi Gevik,
Thanks for reporting this.
Dave,
Please find the patch for the same.
Gevik Babakhani wrote:
> 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
--
Thanks & Regards,
Ashesh Vashi
EnterpriseDB INDIA: http://www.enterprisedb.com
| Attachment | Content-Type | Size |
|---|---|---|
| DefValFunCrash_110_Beta4_v1.patch | text/x-diff | 1.2 KB |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | svn | 2009-05-26 14:58:51 | SVN Commit by dpage: r7882 - trunk/pgadmin3/pgadmin |
| Previous Message | Gevik Babakhani | 2009-05-25 15:10:10 | PgAdmin crash (1.10.0 beta4) + possible fix |