Date: 03/26/01
- Next message: sniper <email protected>: "[PHP-DEV] PHP 4.0 Bug #9962 Updated: php.ini-dist is setup for unix."
- Previous message: sniper <email protected>: "[PHP-DEV] PHP 4.0 Bug #9918 Updated: cannot compile php4 with pdflib"
- Next in thread: Adam Wright: "Re: [PHP-DEV] please remove pgsql warning on fetch_row - includes diff"
- Reply: Adam Wright: "Re: [PHP-DEV] please remove pgsql warning on fetch_row - includes diff"
- Maybe reply: Marc Boeren: "RE: [PHP-DEV] please remove pgsql warning on fetch_row - includes diff"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi!
The PostgreSQL module issues a warning when trying to fetch a row with an
invalid rownumber. pg_fetch_row also returns false.
I would ask if someone could remove the warning that is issued. The docs
says the function returns false, this should be enough, I think.
I would really like to construct a while-loop
while (pg_fetch_row()) {
...
}
In fact, in the dbx-module I am doing exactly that, and the postgresql
addition generates the warning even though the loop is ended successfully...
To make it easier, I attached a diff that removes said warning. I'm not
really sure if this is how a patch is submitted (do you need a diff for
that?), but if I'm doing something wrong maybe anyone can show me how it's
done.
Cheerio, Marc.
<<pgsql.c.diff>>
- application/octet-stream attachment: pgsql.c.diff
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: sniper <email protected>: "[PHP-DEV] PHP 4.0 Bug #9962 Updated: php.ini-dist is setup for unix."
- Previous message: sniper <email protected>: "[PHP-DEV] PHP 4.0 Bug #9918 Updated: cannot compile php4 with pdflib"
- Next in thread: Adam Wright: "Re: [PHP-DEV] please remove pgsql warning on fetch_row - includes diff"
- Reply: Adam Wright: "Re: [PHP-DEV] please remove pgsql warning on fetch_row - includes diff"
- Maybe reply: Marc Boeren: "RE: [PHP-DEV] please remove pgsql warning on fetch_row - includes diff"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

