Skip site navigation (1) Skip section navigation (2)

[pgAdmin III] #79: default value in function parameters are not shown

From: "pgAdmin Trac" <trac(at)code(dot)pgadmin(dot)org>
To:
Cc: pgadmin-hackers(at)postgresql(dot)org
Subject: [pgAdmin III] #79: default value in function parameters are not shown
Date: 2009-09-24 17:01:44
Message-ID: 057.46a45dabf88ff584df216a744ae012c9@code.pgadmin.org (view raw or flat)
Thread:
Lists: pgadmin-hackers
#79: default value in function parameters are not shown
------------------------------+---------------------------------------------
 Reporter:  Denis Feklushkin  |       Owner:  gleu
     Type:  bug               |      Status:  new 
 Priority:  minor             |   Milestone:      
Component:  pgadmin           |     Version:  1.10
 Keywords:  functions         |    Platform:      
------------------------------+---------------------------------------------
 In a function argument with a default value this value are not shown in
 pgadmin3

 When you try to change this function you get an error as when trying to
 change the function arguments

 An example of such a function:

 CREATE OR REPLACE FUNCTION public.demo(INOUT level integer DEFAULT 0)
  RETURNS integer
  LANGUAGE plpgsql
  STABLE STRICT
 AS $function$
 BEGIN
 return;
 END;
 $function$

 This function as viewed in pgadmin3:

 -- Function: demo(integer)

 -- DROP FUNCTION demo(integer);

 CREATE OR REPLACE FUNCTION demo(INOUT "level" integer)
   RETURNS integer AS
 $BODY$
 BEGIN
 return;
 END;
 $BODY$
   LANGUAGE 'plpgsql' STABLE STRICT
   COST 100;
 ALTER FUNCTION demo(integer) OWNER TO xxx;

 (from the debian bug #547940)

-- 
Ticket URL: <http://code.pgadmin.org/trac/ticket/79>
pgAdmin III <http://code.pgadmin.org/trac/>
pgAdmin III

Responses

pgadmin-hackers by date

Next:From: svnDate: 2009-09-24 17:04:38
Subject: SVN Commit by guillaume: r8042 - in branches/REL-1_10_0_PATCHES/pgadmin3: . pgadmin/schema
Previous:From: Dave PageDate: 2009-09-21 08:04:28
Subject: Re: Patch to allow the change of the connection in the server status dialog

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group