oh, fixed when i set isolation level to 0.
thanks anyway!
damacy wrote:
> thanks. i started to use psycopg.
>
> however, i have this error message and i don't quite get what it means.
>
> it says "DROP DATABASE cannot run inside a transaction block".
>
> does anyone have a clue?
>
> Tim Roberts wr
thanks. i started to use psycopg.
however, i have this error message and i don't quite get what it means.
it says "DROP DATABASE cannot run inside a transaction block".
does anyone have a clue?
Tim Roberts wrote:
> "damacy" <[EMAIL PROTECTED]> wrote:
>
> >hi, there. i have this question which m
"damacy" <[EMAIL PROTECTED]> wrote:
>hi, there. i have this question which might sound quite stupid to some
>people, but here we go anyway.
>
>i have written a python program which interacts with a postgresql
>database. what it does is simply drops an existing database called
>'mytempdb'.
>
>the c
yes, i'll have a read. thanks. =)
hiaips wrote:
> Another option would be to use the psycopg module to connect to
> postgres from within your Python code. See
> http://www.initd.org/projects/psycopg1 for more information.
>
> --hiaips
--
http://mail.python.org/mailman/listinfo/python-list
hiaips wrote:
> damacy wrote:
> > hi, there. i have this question which might sound quite stupid to some
> > people, but here we go anyway.
> >
> > i have written a python program which interacts with a postgresql
> > database. what it does is simply drops an existing database called
> > 'mytempdb
Another option would be to use the psycopg module to connect to
postgres from within your Python code. See
http://www.initd.org/projects/psycopg1 for more information.
--hiaips
--
http://mail.python.org/mailman/listinfo/python-list
damacy wrote:
> hi, there. i have this question which might sound quite stupid to some
> people, but here we go anyway.
>
> i have written a python program which interacts with a postgresql
> database. what it does is simply drops an existing database called
> 'mytempdb'.
>
> the code looks like b
hi, there. i have this question which might sound quite stupid to some
people, but here we go anyway.
i have written a python program which interacts with a postgresql
database. what it does is simply drops an existing database called
'mytempdb'.
the code looks like below;
link = subprocess.Pope