Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bsTea-0004M8-E4 for pgadmin-hackers@arkaria.postgresql.org; Fri, 07 Oct 2016 11:49:28 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1bsTeZ-00022q-Vi for pgadmin-hackers@arkaria.postgresql.org; Fri, 07 Oct 2016 11:49:28 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1bsTeM-0001oZ-Qi for pgadmin-hackers@postgresql.org; Fri, 07 Oct 2016 11:49:14 +0000 Received: from mail-io0-x229.google.com ([2607:f8b0:4001:c06::229]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1bsTeK-00054Y-2H for pgadmin-hackers@postgresql.org; Fri, 07 Oct 2016 11:49:13 +0000 Received: by mail-io0-x229.google.com with SMTP id j37so44442825ioo.3 for ; Fri, 07 Oct 2016 04:49:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pgadmin-org.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=DLL3vcs1SsT33gyeHCeKElmXf3G2BKnDFBCngf998I0=; b=uD5g76DkdC9M4ax8P/n9WRkxRceDRVJ4jpM1yaLvP5HEc37yMOiMOzXi5l+FanXBdO 6NAxTPJWduET3LtyScrn1RjYBgkVAE77wiXC2A5fGPPq7pdytDc6BcbvvnSWoe59i0kC ZCyDJprq8v6R2Gt8vVz/FV45Xb8/rbSQUqW1/FIB2PKDyJMjmm/9cDrgP07EKJEp85H8 fHW0fo7n7r08f3Vf/bRjXM6dnCMUJpVkOcNVTG9YwzC/auZwZCAme/RNlUYzo/7zyi7P vlDXfh4m0Fuuyjq2TDgYj04fYCBa+6L6VXrLQiYck6xZ6fZgPtc/rmSuh5QI6App4jOo oFhQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=DLL3vcs1SsT33gyeHCeKElmXf3G2BKnDFBCngf998I0=; b=cHrt5kik5pfIiRgjE+jUJjuEVUq4MXociyjJh7oCrsXOUBp4YEqf+XxSrBg6MUAF22 uppkjyXfTMdvopU+S4SNg/bUOmhPmKFm6Tyw1MdE2LKrfAzibIvl60vWe0pHPGwQu7sU IjJbE/EWmLP6/uplMCKpFFDv9B7z5Ay40aa0ILBJk7vzLyx2gdyUd3EsNbN34PnFemLw /Nvz7JFYGKegm2JvXh258AhGOVXcgrOTiIO5ZqRViuHV0PMT3CxaDtc8+DPWj+BRJ3Tu TrozzJVBaBD5zbo3m+t0BoMjVVgXEkkniiMcQrLbc+28nzIBYLU/zHLsHRgkCGsAwBoZ /8BA== X-Gm-Message-State: AA6/9Rnyxn4H2KphU0h5Z24wGDVlQeloMPIHiA5NXsxRn0yXOB7fvl7MU1+fFZrtAXoW09fBhaIzdIXdLEaipw== X-Received: by 10.107.28.148 with SMTP id c142mr19101146ioc.45.1475840951047; Fri, 07 Oct 2016 04:49:11 -0700 (PDT) MIME-Version: 1.0 Received: by 10.64.1.203 with HTTP; Fri, 7 Oct 2016 04:49:10 -0700 (PDT) In-Reply-To: References: From: Dave Page Date: Fri, 7 Oct 2016 12:49:10 +0100 Message-ID: Subject: Re: [Patch][pgAdmin4]: RM#1577 - Debug option for function/procedure under package node To: Neel Patel Cc: pgadmin-hackers Content-Type: text/plain; charset=UTF-8 X-Pg-Spam-Score: -2.6 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgadmin-hackers Precedence: bulk Sender: pgadmin-hackers-owner@postgresql.org Thanks, applied. Couple of questions/points: - If there is no body for a procedure, the error is handled somewhat ungracefully - the message is displayed without line breaks, and the debugger panel is left empty. Can we make that a little nicer? - In pgAdmin 3 there's a "Debug package initialiser?" option on the parameter dialogue. Is that shown for appropriate packages? I don't have an example to hand to test with. On Fri, Oct 7, 2016 at 11:55 AM, Neel Patel wrote: > Hi, > > Please find attached patch file which contains function/procedure debug > support under package node. (RM #1577) > > Do review it and let me know for any comments. > > Thanks, > Neel Patel > > > -- > Sent via pgadmin-hackers mailing list (pgadmin-hackers@postgresql.org) > To make changes to your subscription: > http://www.postgresql.org/mailpref/pgadmin-hackers > -- Dave Page Blog: http://pgsnake.blogspot.com Twitter: @pgsnake EnterpriseDB UK: http://www.enterprisedb.com The Enterprise PostgreSQL Company -- Sent via pgadmin-hackers mailing list (pgadmin-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgadmin-hackers