source: trunk/docs/contents/pg/index.rst @ 798

Last change on this file since 798 was 798, checked in by cito, 3 years ago

Port type cache and typecasting from pgdb to pg

So far, the typecasting in the classic module was been only done by
the C extension module and was not extensible through typecasting
functions in Python. This has now been made extensible by adding
a cast hook to the C extension module which has been hooked up to
a new type cache object that holds information on the types and the
associated typecast functions. All of this works very similar to the
pgdb module now, except that the basic types are still handled by
the C extension module and the Python typecast functions are only
called via the hook for types which are not supported internally.

Also added tests and a chapter on the type cache in the documentation,
and cleaned up the error messages in the C extension module.

File size: 300 bytes
2:mod:`pg` --- The Classic PyGreSQL Interface
5.. module:: pg
10.. toctree::
11    introduction
12    module
13    connection
14    db_wrapper
15    query
16    large_objects
17    notification
18    db_types
Note: See TracBrowser for help on using the repository browser.