[elephant-devel] Start of 0.6.1 Beta Cycle
Robert L. Read
read at robertlread.net
Fri Mar 23 13:32:23 UTC 2007
On Fri, 2007-03-23 at 10:28 +0100, Edi Weitz wrote:
> (DO-BACKEND-TESTS (QUOTE (:CLSQL (:POSTGRESQL NIL "elephant" NIL
> NIL))))
>
This doesn't look like a good connect string to me.
This may be an example where better documentation would help us.
The best documentation on this right now is Ian's "INSTALL" file, which
I condense here:
if you are using CL-SQL, type:
(asdf:operate 'asdf:load-op :ele-clsql)
(asdf:operate 'asdf:load-op :elephant-tests)
(in-package :ele-tests)
(setf *default-spec* *testpg-spec*)
Of course you don't have to use the default *testpg-spc*, which will
change when building
an application, but it is probably the best way to test.
Create a postgres database schema accessible by user "postgres" named
"test".
Normally you just do this with:
create_db test
(I do this logged in as the Linux user "postgres", the user that is
create specifically to
run the "postmaster".)
Make sure user "postgres" can reach it by connecting with the psql
command-lin interpreter:
psql -h 127.0.0.1 -U postgres test
Then a "spec" that looks like this should work:
'(:CLSQL (:POSTGRESQL "localhost.localdomain" "test" "postgres" ""))
Let me know if that makes a difference!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/elephant-devel/attachments/20070323/22303cf3/attachment.html>
More information about the elephant-devel
mailing list