[orm-devel] The NUMERIC problem float-ing around (no more!)

Diedrich Vorberg orm-devel@mailman.tux4web.de
Tue, 10 Dec 2002 18:51:47 +0100


Hi Eric,

>I guess I'm not clear on when one would use CustomType.  Is it meant to 
>be extended by a class the user writes?

the custom type is mainly called custom type because it will be used
as a custom type cast within psycopg's type casting system. I've put
some more explanations into the docstring for
orm.adapters.pgsql.columns.customType (looks like Java, doesn't it :-)

Anyway, besided that it can also be used to write custom orm
datatype/column classes for custom types you registered with
PostgreSQL.

Diedrich

-- 
           _..._                            Diedrich Vorberg
         .'     '.
        /  _   _  \                         http://www.tux4web.de
        | (o)_(o) |                         info@tux4web.de
         \(     ) /            .---.
         //'._.'\ \           /     \       Internet Dienstleistungen
        //   .   \ \          \.@-@./       und 'Consulting'.
       ||   .     \ \         /`\_/`\
       |\   :     / |        //  _  \\      Linux Rules!
       \ `) '   (`  /_      | \     )|_
     _)``".____,.'"` (_    /`\_`>  <_/ \
     )     )'--'(     (    \__/'---'\__/
      '---`      `---`