Ad Widget

Collapse

PostgreSQL support

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jb_coder
    Junior Member
    • May 2006
    • 1

    #1

    PostgreSQL support

    Looking at the places in db.c where PostgreSQL isn't supported, here are some things that I've found that might be useful:

    mysql_insert_id - After a web search, these pages (http://lists.evolt.org/archive/Week-...14/177635.html and http://www.sitepoint.com/article/sit...postgresql-2/3) were found which give a PostgreSQL query equivalent to the MySQL function call.

    mysql_affected_rows - The equivalent PostgreSQL API looks to be PQcmdTuples (but a PGresult needs to be passed into PQcmdTuples rather than a PGconn).


    My apologies if this information was already known to you.
  • sauron
    Senior Member
    • Jan 2005
    • 215

    #2
    He may use libdbi ? It's more flexable

    Comment

    Working...