pgAdmin III: comments on PPAS 9.0 functions not working properly

From: Nikhil S <nixmisc(at)gmail(dot)com>
To: pgadmin-hackers(at)postgresql(dot)org
Subject: pgAdmin III: comments on PPAS 9.0 functions not working properly
Date: 2011-03-31 07:15:28
Message-ID: AANLkTikeEsEYLLchD-7T18KmN_ObT-9qH3PRYUeo1z_a@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Hi,

Consider the following PPAS 9.0 function:

CREATE OR REPLACE FUNCTION TEST_in_inout_out(A IN INT, B IN OUT INT, C OUT
INT) RETURN INT
IS
D INT;
BEGIN
D := A + B + C;
RETURN D;
END;

When I click on properties and try to assign a comment to this function, it
errors out. In PPAS 9.0, either we do not provide the OUT parameter while
assigning the comment or if we are mentioning it, we need to provide the
argument type (OUT, INOUT etc.) appropriately. Fixing via the latter route.

PFA, patch for the same.

Regards,
Nikhils

Attachment Content-Type Size
pgadmin3_unable_comments_ppas_functions.patch text/x-diff 1.3 KB

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Dave Page 2011-03-31 08:37:25 pgAdmin III commit: Ensure png2c doesn't barf if processing a file with
Previous Message Guillaume Lelarge 2011-03-30 21:42:06 pgAdmin III commit: Add support for foreign table object.