Re: [pgAdmin4][Patch]: RM #3354 Debugger does not start if function has input vars of type array

From: Dave Page <dpage(at)pgadmin(dot)org>
To: Akshay Joshi <akshay(dot)joshi(at)enterprisedb(dot)com>
Cc: pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org>
Subject: Re: [pgAdmin4][Patch]: RM #3354 Debugger does not start if function has input vars of type array
Date: 2018-11-20 16:13:47
Message-ID: CA+OCxozbjCef-riWz9OBxfR3VjNRiQ5NWWsO=2TM0k5acUEVUA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Hi

On Fri, Nov 16, 2018 at 6:53 AM Akshay Joshi <akshay(dot)joshi(at)enterprisedb(dot)com>
wrote:

> Hi Hackers,
>
> Attached is the patch to fix the RM #3354 "Debugger does not start if
> function has input vars of type array". Apart from that patch contains fix
> for the following:
>
> - Parameter values showing twice in case of array.
> - Allow null values in "InputIntegerArrayCell".
>
> Please review it.
>

Testing with a function which takes a oid[] as an argument, if I use an
array of numbers it works, but if I enter NULL and a number I get:

ERROR: invalid input syntax for type oid: "NULL" LINE 3: 'NULL',
'456']::oid[] ^ SQL state: 22P02 Character: 47

--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

In response to

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Dave Page 2018-11-20 16:23:00 pgAdmin 4 commit: Fix toggle breakpoints buttons in the debugger. Fixes
Previous Message Dave Page 2018-11-20 14:53:22 Re: Import/export servers