Re: why does plperl cache functions using just a bool for is_trigger
Alex Hunsaker <badalex@gmail.com>
From: Alex Hunsaker <badalex@gmail.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Andrew Dunstan <andrew@dunslane.net>, Jan Urbański <wulczer@wulczer.org>, Postgres - Hackers <pgsql-hackers@postgresql.org>
Date: 2010-11-01T22:30:18Z
Lists: pgsql-hackers
Commits
Same data as JSON:
GET /api/v1/messages/:b64id/commits
the thread's linked commits as JSON, with link sources.
API reference →
-
Remove unnecessary use of trigger flag to hash plperl functions
- 2d01ec0708d5 9.1.0 cited
On Mon, Nov 1, 2010 at 15:24, Alex Hunsaker <badalex@gmail.com> wrote: houldn't cache any of the setup but just redo it all every time. > > Huh? I might try and argue that if the new test was more complex than > 2 compares :P. In-fact the way it stands now we uselessly grab the > functions pg_proc entry in the common case. This is bogus, I missed the fact that we need it to make sure the function is uptodate for the OR REPLACE in CREATE OR REPLACE.