On 11/7/2016 7:51 PM, Michael Paquier wrote:
There is no need to go down to this level of details perhaps? You could just use the PGXS infrastructure to guess it for you.
+1 I forgot to mention PGXS, that provides a portable method of building server-side extensions.
See https://www.postgresql.org/docs/current/static/extend-pgxs.html -- john r pierce, recycling bits in santa cruz -- Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general