Connect to a new database using the conninfo string as a parameter

Property definitions

postgresql $ NativePostgres :: connectdb
  # Connect to a new database using the conninfo string as a parameter
  new connectdb(conninfo: Text) import Text.to_cstring `{
    PGconn * self = NULL;
    self = PQconnectdb(Text_to_cstring(conninfo));
    return self;
  `}
lib/postgresql/native_postgres.nit:88,3--93,4