RE: [PEAR-DEV] MDB transactions in pgsql driver

From: Date: Mon, 02 Jun 2003 12:35:26 +0000
Subject: RE: [PEAR-DEV] MDB transactions in pgsql driver
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-16900@lists.php.net to get a copy of this message
> From: Lukas Smith [mailto:smith@backendmedia.com] > Sent: Monday, June 02, 2003 2:33 PM > To: 'Jeroen Houben' > Cc: pear-dev@lists.php.net > Subject: RE: [PEAR-DEV] MDB transactions in pgsql driver > > > From: Jeroen Houben [mailto:jeroen@terena.nl] > > Sent: Monday, June 02, 2003 2:05 PM > > > > Lukas Smith wrote: > > > > >>From: Jeroen Houben [mailto:jeroen@terena.nl] > > >>Sent: Wednesday, May 28, 2003 1:47 PM > > >> > > >> > > >>>So the errors you were receiving happend in this code fragment? > > >>Yes. in: > > >> > > >>$groups = $db->getAssoc('SELECT group_id, name FROM groups'); > > >> > > > >Do you have autofree on or off? > > > Using Mdb 1.1.3RCI I set it to "on" and one error disappeared but I > > still have : > > > > Notice: Undefined index: Coordinators in > > /usr/local/share/php/pear/MDB/pgsql.php on line 1267 > > > > Warning: pg_numrows(): supplied argument is not a valid PostgreSQL > > result resource in /usr/local/share/php/pear/MDB/pgsql.php on line 799 > > hmm I am having trouble reproducing this error. > > Therefore I would like you to do the following things for me: > 1) run the test suite and set autofree to true in the test_setup.php > 2) edit the line 58 of MDB_test.php (this script is also available in the > test dir) and add the autofree option and run MDB_test.php?db_type=pgsql > > I can't reproduce this error using the above tests. > If the errors don't occur with these tests you will have to send me a > larger piece of code with which I can reproduce these errors. > > If the errors do occur in the tests then please send me the output. One more thing .. do the errors go away when you set autofree to off? Regards, Lukas

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