Debug button doesn't become active when integer argument = 0

From: "Georg H(dot)" <georg-h(at)silentrunner(dot)de>
To: pgadmin-support(at)lists(dot)postgresql(dot)org
Subject: Debug button doesn't become active when integer argument = 0
Date: 2018-03-01 17:35:54
Message-ID: ba0a50ba-fa7b-66db-8297-7873bf95deec@silentrunner.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-support

Hello team,
when I try to debug a function that has one or more integer arguments
using 0 as input the "Debug" button doesn't become active.
Using 1 or any other integer I'm able to debug the function.

I'm using
pgadmin Version 2.1
Python Version 2.7.13 (v2.7.13:a06454b1afa1, Dec 17 2016, 20:42:59) [MSC
v.1500 32 bit (Intel)]
Flask Version 0.12.2
Application Mode Desktop

on Win10 but this happens also on CentOS 7 with
pgadmin Version 2.1
Python Version 2.7.5 (default, Aug 4 2017, 00:39:18) [GCC 4.8.5 20150623
(Red Hat 4.8.5-16)]
Flask Version 0.11.1
Application Mode Desktop

Postgresql Server (10.2 + 9.6.7) runs on CentOS 7

sample function:

CREATE OR REPLACE FUNCTION public.test_dbg_integer(myint integer)
RETURNS text
LANGUAGE 'plpgsql'
VOLATILE STRICT
PARALLEL UNSAFE
COST 100
AS $BODY$
DECLARE outtxt text;--
BEGIN
outtxt = (myint)::text;--
RETURN outtxt;--
END;--
$BODY$;

kind regards
Georg

Browse pgadmin-support by date

  From Date Subject
Next Message Murtuza Zabuawala 2018-03-02 16:12:17 Re: pgAdmin Development Team || pgAdmin (PostgreSQL Management tool) 4 ||Version 2.0 || EULA questionnaire
Previous Message Christoph Berg 2018-03-01 17:07:39 Re: Fwd: pgAdmin4 2.1 on apt.postgresql.org