how to reload a function - Mailing list pgsql-admin

From Jie Liang
Subject how to reload a function
Date
Msg-id Pine.BSF.4.10.10103070954550.55820-100000@tidal.ipinc.com
Whole thread Raw
In response to Re: select * from pgadmin_users; causes error  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-admin
I have 2 plpgsql defined functions, say:

create function A(....) returns ... as'
.....
'language 'plpgsql';

create function B(....) returns ... as '
declare
....
begin
  select A(..) into myvar from ....
  ....
end;
'language 'plpgsql';

If I modify function A (drop && re_create), then I have to re_create
function B though no change to function B.

Is there any way (sql stmt) let me re_load function B's defination
without using drop and create??


Thanks.




Jie LIANG

St. Bernard Software

10350 Science Center Drive
Suite 100, San Diego, CA 92121
Office:(858)320-4873

jliang@ipinc.com
www.stbernard.com
www.ipinc.com



pgsql-admin by date:

Previous
From: Lamar Owen
Date:
Subject: Re: Postgres/Postmaster logging and log rotation
Next
From: hicham bouzdad
Date:
Subject: Postgresql \z grant question