view docs/source/design.rst @ 530:853b9e675dd7

fixed \dt for mysql, postgresql; ls base table still failing
author catherine.devlin@gmail.com
date Wed, 29 Jun 2011 21:18:02 -0400
parents 4bd3145bff1b
children
line wrap: on
line source

============
Design Notes
============

These design notes will hopefully not be necessary for routine use
of sqlpython; they describe implementation details intended to be
transparent to the user.  However, if you get involved in developing
or debugging - or if something goes wrong (which it sometimes will) -
this information may be of interest. 

Pickled metadata
----------------

sqlpython relies on Gerald to collect metadata, and this collection
takes some time.  When a database connection is made, a Gerald 
connection is initiated; to provide preliminary metadata before that
Gerald collection is complete, sqlpython looks for a picklefile
storing metadata collected during an earlier session.  When the fresh
metadata collection is complete, it is stored in pickled form for the
next session.