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

calling functions through a "pointer"

From: Max Jacob <Max(dot)Jacob(at)ircam(dot)fr>
To: pgsql-hackers(at)postgresql(dot)org
Subject: calling functions through a "pointer"
Date: 2003-10-03 11:51:59
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-hackers

I wonder if there is a way to call functions in plpgsql having their oid.
As an example: suppose i have a table that contains oids to functions 
and i have some statements that  select some rows and must call the 
corresponding functions. Of course i can do it using dynamic sql 
(building the statement string on the fly), but this is much less 
performing than direct sql written in plpgsq...



pgsql-hackers by date

Next:From: JeffDate: 2003-10-03 12:36:42
Subject: Re: count(*) slow on large tables
Previous:From: Christopher BrowneDate: 2003-10-03 11:37:07
Subject: Re: count(*) slow on large tables

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