GadFly and gfplus.py working with Python 2.0?

Eugene Leitl Eugene.Leitl at lrz.uni-muenchen.de
Wed Mar 7 06:42:02 EST 2001


On Wed, 7 Mar 2001, Eugene Leitl wrote:

> On Wed, 7 Mar 2001, Oleg Broytmann wrote:
> 
> >    Why not just try yourself? (Works for me, YMMV)
> 
> GadFly seems to be working, but gfplus.py doesn't seem
> to accept simple valid SQL. 

Somebody whack me with a cluestick: of course it works. Comes
from asking Oracleites about pidgin SQL: they wouldn't know it
if it bit them in the behind.

I've just made a session with a frozen gfplus.py:

[eleitl at pc27 test2]$ ./gfplus
 
gfplus 1.1 -- Interactive gadfly shell
 
Wednesday March 07, 2001 12:24 PM
 
Using:
DB Name: foobar
DB Location: /tmp/ooga
Unable to locate database "foobar" at location "/tmp/ooga".
Create? (Yy/Nn) Y
GF> desc user_tables;
 
COLUMN_NAME
===========
 
GF> create table test (nr integer, name varchar(5));
GF> insert into test values (1, 'blah');
GF> insert into test values (2, 'ookook');
GF>  select * from test;
 
NR | NAME
===========
1  | blah
2  | ookook
 
GF>   

So it does work. Whew. I've also tested the client/server mode
with ./gfplus admin 2222 admin localhost 
and it also seems to behave sanely sofar. Double whew.





More information about the Python-list mailing list