From: | Bill House <wch-tech(at)house-grp(dot)net> |
---|---|
To: | psycopg(at)postgresql(dot)org |
Subject: | missing psycopg2 database |
Date: | 2011-03-30 13:01:42 |
Message-ID: | 4D9329B6.7010704@house-grp.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | psycopg |
Hello,
I have recently installed this package. The installation is successful
in so far as I am able to connect to my server and a database and
extract data from it.
I was going through some tutorials and in the course of this I
encountered the following:
----------------------------------------
$ python
Python 2.6.5 (r265:79063, Oct 28 2010, 20:56:23)
[GCC 4.5.0 20100604 [gcc-4_5-branch revision 160292]] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> help('modules keywords')
Here is a list of matching modules. Enter any module name to get more help.
keyword - Keywords (from "graminit.c")
Failed connection to test db: OperationalError FATAL: database
"psycopg2_test" does not exist
Please set env vars 'PSYCOPG2_TESTDB*' to valid values.
--------------------------------------------
My system:
----------------------------------------
$ uname -a
Linux cm2 2.6.34.7-0.7-desktop #1 SMP PREEMPT 2010-12-13 11:13:53 +0100
x86_64 x86_64 x86_64 GNU/Linux
----------------------------------------
I poked around the module but did not see any language which looked like
it would be used to create this database in my server.
Would someone tell me what I missed or where to find the instructions for creating the psycopg2_test database?
Thanks,
Bill
From | Date | Subject | |
---|---|---|---|
Next Message | Daniele Varrazzo | 2011-03-30 14:09:17 | Re: missing psycopg2 database |
Previous Message | P. Christeas | 2011-03-28 19:13:36 | Re: Stuff for 2.4.1 |