monet v0.0.9 Monet.Auth

Handles authenticating with the MonetDB server. Shouldn't be called directly. Automatically invoked as part of the connection startup which is managed by the connection pool (the Monet module).

Link to this section Summary

Functions

The monetdbd process can either proxy or redirect us to the actual database server (mserver5). Even when proxying, we're required to reconnect. In either case, we want to limit how many times we'll attempt to do so.

Link to this section Functions

Link to this function

login(conn, opts, tries \\ 0)

The monetdbd process can either proxy or redirect us to the actual database server (mserver5). Even when proxying, we're required to reconnect. In either case, we want to limit how many times we'll attempt to do so.

Currently, this is set to 10 (because that's what all the other drivers seem to do.)