Skip to content

A PHP Ingres update

Its been a long time coming but I have finally released to cvs.php.net a major revision of the PECL Ingres code. So major that I have had to break backwards compatibility to implement the ability to have multiple active result-sets. Since I promised Andy Grimm I would write a piece on the new driver for the company blog site http://blogs.ingres.com/tech I will not be providing much info here, at least not just yet. However, to whet your appetite, here are the changes made since the last release:

  • Added support for multiple concurrent result-sets
  • Added automatic coercion between UTF-8 and UTF-16
  • Added support for Bi-directional scrolling cursors
  • Added ingres_free_results() – free the memory associated with a given result set
  • Added ingres_autocommit_state() – return the current auto-commit state
  • Added ingres_next_error() – fetch additional errors if any

If you are feeling brave you can grab the code from cvs.php.net:

cvs co -d somedir pecl/ingres

If you want to run it along side an existing pecl ingres install I would recommend you use the following (ahem, undocumented) configure flag:

./configure --enable-ingres2

Documentation will follow, first with an overhaul of the README(.html) as well as the information on http://php.net/ingres.

Technorati Tags: , , ,

Popularity: 2% [?]

  • Share/Bookmark

Some random posts

    blog comments powered by Disqus