Jim Nasby <Jim(dot)Nasby(at)bluetreble(dot)com> writes:
> That said, this pattern with fn_extra is repeated a lot, even just in
> the backend (not counting contrib or extensions). It would be nice if
> there was generic support for this.
What do you mean by "generic support"? Most of those functions are doing
quite different things with fn_extra --- granted, nearly all of them are
caching something there, but I don't see very much that a "generic"
infrastructure could bring to the table.
regards, tom lane