On Tue, Mar 28, 2006 at 06:07:41PM +0200, Ivan Horvath wrote:
>         SELECT pg_index.indisprimary,
>             pg_catalog.pg_get_indexdef(pg_index.indexrelid)
>         FROM pg_catalog.pg_class c, pg_catalog.pg_class c2,
>             pg_catalog.pg_index AS pg_index
>         WHERE c.relname = 'ps_schema.knowladgebase'
>             AND c.oid = pg_index.indrelid
>             AND pg_index.indexrelid = c2.oid
>             AND pg_index.indisprimary
>         
> AssertionError: No primary key found in table 'ps_schema.knowladgebase'

   SQLObject has asked the DB but can't find the primary key. Run the query
manually to investigate if there is the primary key - it could be a bug in
SQLObject.

Oleg.
-- 
     Oleg Broytmann            http://phd.pp.ru/            [EMAIL PROTECTED]
           Programmers don't die, they just GOSUB without RETURN.


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
sqlobject-discuss mailing list
sqlobject-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss

Reply via email to