Re: DataObject postgresql problems

From: Date: Tue, 24 Jun 2003 15:30:49 +0000
Subject: Re: DataObject postgresql problems
References: 1 2 3  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-17667@lists.php.net to get a copy of this message
Problem is that it tries to to skip the username column on inserts. Possibly because it thinks it's a primary auto incrementing key or something. This is the query that gets send to PG:
Should be fixed in CVS, it uses primary|nextval(), and only falls back to unique if neither of those two is detected in the table..
in your [DB_DataObject] section of your ini file you can specify the correct sequence, e.g. sequence_users = users_id_seq
yet another todo on the documentation :)
Regards Alan


« previous php.pear.dev (#17667) next »