Identifying the version v5

The MongoDB Foreign Data Wrapper includes a function that you can use to identify the currently installed version of the .so file for the data wrapper. To use the function, connect to the Postgres server, and enter:

SELECT mongo_fdw_version();

The function returns the version number:

mongo_fdw_version
-----------------
<xxxxx>