Since plpgsql keeps its compiled function parsetrees until backend exit,
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 6 Apr 2001 02:06:48 +0000 (02:06 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 6 Apr 2001 02:06:48 +0000 (02:06 +0000)
commit048d5feabfa41e234214fb3e4420add6483581cb
treea4b90b91686d5f5ad6ba7bfa4ea7adf98e3f7b50
parent4b3995dd927d452e33b4b368389ea4435e99b033
Since plpgsql keeps its compiled function parsetrees until backend exit,
it needs to ensure that data structures attached to fmgr info records in
the trees will stick around that long, too.  Current code was crashing
on cases like datatypes with old-style I/O functions.
src/pl/plpgsql/src/pl_comp.c