Re: PgAdmin crash (1.10.0 beta4) + possible fix

From: Dave Page <dpage(at)pgadmin(dot)org>
To: Ashesh Vashi <ashesh(dot)vashi(at)enterprisedb(dot)com>
Cc: Gevik Babakhani <pgdev(at)xs4all(dot)nl>, pgadmin-hackers(at)postgresql(dot)org
Subject: Re: PgAdmin crash (1.10.0 beta4) + possible fix
Date: 2009-05-26 16:43:00
Message-ID: 937d27e10905260943o17baf0c1x48461e78090845e0@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Thanks, applied with an additional fix to prevent an assertion in
dlgFunction::Go.

On Tue, May 26, 2009 at 1:45 AM, Ashesh Vashi
<ashesh(dot)vashi(at)enterprisedb(dot)com> wrote:
> 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
>
> --
> Sent via pgadmin-hackers mailing list (pgadmin-hackers(at)postgresql(dot)org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgadmin-hackers
>
>

--
Dave Page
EnterpriseDB UK: http://www.enterprisedb.com

In response to

Browse pgadmin-hackers by date

  From Date Subject
Next Message Marek Černocký 2009-05-27 09:52:26 Untranslated command line help
Previous Message svn 2009-05-26 16:41:15 SVN Commit by dpage: r7883 - in trunk/pgadmin3/pgadmin: dlg schema