From: Vladimir Tsichevski <wowa@je...> - 2002-05-06 08:09:02
>I had to do the following to get the regression to look like it worked
>right for me. I couldn't get the database to connect using the old PQsetdbLogin.
Yes, I've noticed that misfeature once, reported it to Alex Ott, new fixed
version of the pgsql-connect function looks now like that:
(define (pgsql-connect::pgsql-connection #!key dbname username
password hostname pgport pgoptions)
(user::string (or username "postgres"))
(pass::string (or password ""))
(db::string (or dbname "postgres"))
(host::string (or hostname "localhost"))
(port::string (or pgport "5432"))
(opt::string (or pgoptions ""))
(conn::pgsql-conn (pragma::pgsql-conn "PQsetdbLogin($1, $2, $3, NULL, $4, $5, $6)"
host port opt db user pass)))
(when (pragma::bool "(NULL == $1) || (PQstatus($1) == CONNECTION_BAD)" conn)
(error "pgsql-connect" "Cannot connect to database" db))
(instantiate::pgsql-connection (impl conn))
>Is this project still actively being developed?
The answer depends on that you mean by `actively being developed'. At
the moment there are only two bigloo-lib developers: Alex, who is
responsible for PostgreSQL driver, and me, who has created all other
stuff. I like Bigloo, I made a few projects based exclusively on
Bigloo scheme, and bigloo-lib was born because I believe that most of
the software a created for that projects may be used by other people
who do programming with Bigloo.
I'm open to all suggestions, criticism, help etc. I'm constantly
looking for new developers either.
Vladimir V. Tsichevski
Any opinions or recommendations herein are those of
the author and not of his computer.