postgresql/src
Tom Lane 6c74f05cf2 Repair oversights in the mechanism used to store compiled plpgsql functions.
The original coding failed (tried to access deallocated memory) if there were
two active call sites (fn_extra pointers) for the same function and the
function definition was updated.  Also, if an update of a recursive function
was detected upon nested entry to the function, the existing compiled version
was summarily deallocated, resulting in crash upon return to the outer
instance.  Problem observed while studying a bug report from Sergiy
Vyshnevetskiy.

Bug does not exist before 8.1 since older versions just leaked the memory of
obsoleted compiled functions, rather than trying to reclaim it.
2007-01-30 22:05:25 +00:00
..
backend Correct an old logic error in btree page splitting: when considering a split 2007-01-27 20:53:41 +00:00
bin Fix psql's \copy command to ensure that it cycles libpq back to the idle state 2006-11-24 23:06:56 +00:00
include Back-port changes of Jan 16 and 17 to "revoke" pending fsync requests during 2007-01-27 20:15:55 +00:00
interfaces Stamp release 8.1.6. 2007-01-05 20:53:49 +00:00
makefiles Add $(CFLAGS) to the simplified build rule for .so libraries on Darwin. 2006-11-28 05:47:16 +00:00
pl Repair oversights in the mechanism used to store compiled plpgsql functions. 2007-01-30 22:05:25 +00:00
port Stamp release 8.1.6. 2007-01-05 20:53:49 +00:00
template SUNOS4_CC -> SUNOS_CC. 2005-07-30 03:07:42 +00:00
test Fix back-branch pg_regress scripts to try the "canonical" expected file if we 2006-10-09 01:45:41 +00:00
timezone Update timezone data to tzdata2006p zic distribution. It seems Western 2006-11-28 19:37:13 +00:00
tools Stamp 8.1.4, except configure/configure.in. 2006-05-19 03:57:17 +00:00
tutorial Use SQL standard '' rather than \' for tutorial/sample code. 2006-05-11 19:21:31 +00:00
utils PostgreSQL extension makefile framework ("pgxs"), by Fabien Coelho, with 2004-07-30 12:26:40 +00:00
bcc32.mak Add -N make flag to bcc builds from /src dir. 2005-05-13 18:12:35 +00:00
DEVELOPERS just testing a script... 1999-07-30 03:45:57 +00:00
Makefile Adjust src/tutorial Makefile so that it can use pgxs. This allows the 2005-01-13 18:23:22 +00:00
Makefile.global.in Fix problems with PGXS builds against an installation tree that was 2005-09-27 17:39:35 +00:00
Makefile.shlib Fix out-of-order inclusion of -L switches from LDFLAGS on AIX and HPUX. 2005-12-03 20:16:39 +00:00
nls-global.mk More locale fixes for pg_ctl. 2004-06-01 03:32:42 +00:00
win32.mak Attached is a makefile I hacked up to build pg_config under MSVC - the 2005-06-14 17:50:38 +00:00