476
|
1 ============
|
|
2 Design Notes
|
|
3 ============
|
|
4
|
|
5 These design notes will hopefully not be necessary for routine use
|
|
6 of sqlpython; they describe implementation details intended to be
|
|
7 transparent to the user. However, if you get involved in developing
|
|
8 or debugging - or if something goes wrong (which it sometimes will) -
|
|
9 this information may be of interest.
|
|
10
|
|
11 Pickled metadata
|
|
12 ----------------
|
|
13
|
|
14 sqlpython relies on Gerald to collect metadata, and this collection
|
|
15 takes some time. When a database connection is made, a Gerald
|
|
16 connection is initiated; to provide preliminary metadata before that
|
|
17 Gerald collection is complete, sqlpython looks for a picklefile
|
|
18 storing metadata collected during an earlier session. When the fresh
|
|
19 metadata collection is complete, it is stored in pickled form for the
|
|
20 next session.
|
|
21
|
|
22
|
|
23
|
|
24
|