Arrange to cache FdwRoutine structs in foreign tables' relcache entries.

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 1908abc4a37d397356c9cdf0fd31c33a86281d63
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2013-03-07T04:48:09Z
Releases: 9.3.0
Arrange to cache FdwRoutine structs in foreign tables' relcache entries.

This saves several catalog lookups per reference.  It's not all that
exciting right now, because we'd managed to minimize the number of places
that need to fetch the data; but the upcoming writable-foreign-tables patch
needs this info in a lot more places.

Files