EnterpriseDB / mongo_fdw

PostgreSQL foreign data wrapper for MongoDB
GNU Lesser General Public License v3.0
326 stars 70 forks source link

--authenticationDatabase? #26

Closed ghost closed 8 years ago

ghost commented 9 years ago

So, will you support this option since the new version of mongo requires this if you're using authentication? If you do already support it, how do we pass in the options and where?

ahsanhadi commented 9 years ago

This is not supported yet...we will add this option asap.

ibrarahmad commented 9 years ago

The authenticationDatabase is a command line option to use with Mongo Clients.

Ref: http://docs.mongodb.org/manual/reference/program/mongo/ ... --authenticationDatabase New in version 2.4.

Specifies the database that holds the user’s credentials.

If you do not specify a value for --authenticationDatabase, mongo uses the database specified in the connection string. ...

In Meta driver the connection string "URI" already has database option, so it should work.