Re: Functions

From: Jan Wieck <JanWieck(at)Yahoo(dot)com>
To: Mihai Gheorghiu <tanethq(at)earthlink(dot)net>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Functions
Date: 2001-09-25 21:57:44
Message-ID: 200109252157.f8PLvi002218@saturn.jw.home
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Mihai Gheorghiu wrote:
> I created 2 functions: f1 and f2. f1 calls f2. I then change f2.
> What is the minimum I need to do for f1 to see the modified f2?
> Is my understanding correct that I need to drop and recreate f1?
> Thank you in advance.

For functions called by functions, it should be sufficient to
reconnect to the database. AFAIK neither 'sql', nor any
existing PL's can cache function OIDs across DB connection
time.

Jan

--

#======================================================================#
# It's easier to get forgiveness for being wrong than for being right. #
# Let's break this rule - forgive me. #
#================================================== JanWieck(at)Yahoo(dot)com #

_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com

In response to

  • Functions at 2001-09-25 21:00:30 from Mihai Gheorghiu

Browse pgsql-general by date

  From Date Subject
Next Message T.R.Missner 2001-09-25 23:11:05 trigger compile problem
Previous Message Mihai Gheorghiu 2001-09-25 21:00:30 Functions