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

storage of compiled functions

From: Sibtay Abbas <sibtay(at)gmail(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: storage of compiled functions
Date: 2005-01-28 07:32:22
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-hackers
Hello everyone

i have been studying postgres's function handling philosophy lately. I
got stuck at a point where i could'nt get the answer myself

All the information related to functions are stored in pg_proc system
catalog. But when a function is compiled (probably the data structure
that contains a compiled function is pgfunction) where is it stored
for persistence.

I checked plpgsql's code and noticed there that the function after
compilation was saved in
fcinfo->flinfo->fn_extra. But how do you get persistence (of compiled
functions) by storing its value in fcinfo->flinfo->fn_extra. Or in
other words how is the FmgrInfo information stored to persistence in



pgsql-hackers by date

Next:From: Tom LaneDate: 2005-01-28 07:38:45
Subject: Re: storage of compiled functions
Previous:From: Robert TreatDate: 2005-01-28 06:48:44
Subject: Re: Continue transactions after errors in psql

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