Function new_default_process

Source
pub fn new_default_process() -> TmpPostgrustResult<ProcessGuard>
Expand description

Create a new default instance, initializing the DEFAULT_POSTGRES_FACTORY if it does not already exist.

§Errors

Will return Err if postgres is not installed on system

§Panics

Will panic if a TmpPostgrustFactory::try_new returns an error the first time the function is called.