Chris Gray wrote:
>
> I can pinpoint the problem a bit more.
>
> select
> relname, relowner, relpages, reltuples, relhasindex, relisshared, relkind,
> relnatts, relchecks, reltriggers, relukeys, relfkeys, relrefs, relhaspkey,
> relhasrules, relacl
> from pg_class
>
> works fine but
>
> select reltype from pg_class
> select relam from pg_class
> select rellongrelid from pg_class
>
> all cause problems and sometimes crash my instance of Zope! These three
> fields all have the type oid. Apparently PoPy can't handle returned
> values of this type.
PoPyDA has serious problems with oid fields.
But I found a temporary solution.
select int4(relam) from pg_class
--
________________________________________________________________________
Andreas Heckel [EMAIL PROTECTED]
UNIX is like a wigwam ...no gates ...no windows and an apache inside ;-)
_______________________________________________
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
http://lists.zope.org/mailman/listinfo/zope-announce
http://lists.zope.org/mailman/listinfo/zope-dev )