On Fri, Jul 21, 2017 at 4:17 PM, Mat Arye <[email protected]> wrote: > (I > want to avoid having to keep backwards-compatibility for all functions in > future shared-libraries).
Are you sure that's a good idea? It seems like swimming upstream against the design. I mean, instead of creating a dispatcher library that loads either v1 or v2, maybe you could just put it all in one library, add a "v1" or "v2" suffix to the actual function names where appropriate, and then set up the SQL definitions to call the correct one. I mean, it's the same thing, but with less chance of the dynamic loader ruining your day. -- Robert Haas EnterpriseDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company -- Sent via pgsql-hackers mailing list ([email protected]) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers
