Copy information from the relcache instead of pointing to it.

Robert Haas <rhaas@postgresql.org>

Commit: 45866c75507f0757de0da6e90c694a0dbe67d727
Author: Robert Haas <rhaas@postgresql.org>
Date: 2017-10-06T19:28:07Z
Releases: 11.0
Copy information from the relcache instead of pointing to it.

We have the relations continuously locked, but not open, so relcache
pointers are not guaranteed to be stable.  Per buildfarm member
prion.

Ashutosh Bapat.  I fixed a typo.

Discussion: http://postgr.es/m/CAFjFpRcRBqoKLZSNmRsjKr81uEP=ennvqSQaXVCCBTXvJ2rW+Q@mail.gmail.com

Files

Discussion