RE: [PEAR-DEV] MDB transactions in pgsql driver
| From: | Lukas Smith | Date: | Mon, 02 Jun 2003 12:33:15 +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-16899@lists.php.net to get a copy of this message | ||
> 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) run MDB_test.php?db_type=pgsql (this script is also available in the
test dir)
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.
Regards,
Lukas