On 1/8/18 15:27, Andrew Dunstan wrote: > This seems like a good idea, and the code change is tiny and clean. I > don't know of any third party PLs or other libraries might be pinning > the portals already on their own. How would they be affected if they did?
They would get an error if they tried to pin it a second time. So this would require a small source-level adjustment. But I doubt this is actually the case anywhere, seeing that we are not even using this consistently in core. -- Peter Eisentraut http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services