(PECL ingres >= 2.0.0)
ingres_next_error — Get the next Ingres error
Get the next Ingres error for the last executed query. Each call to ingres_next_error() can be followed by a call to ingres_errno(), ingres_error() or ingres_errsqlstate() to get the respective error number, error text, or SQL STATE. While ingres_next_error() returns TRUE, there are more errors to fetch.
The connection link identifier
ingres_next_error() returns TRUE if there is another error to retrieve or FALSE when there are no more errors