Forum OpenACS Q&A: Response to partially complete backport of v4 DB API

Collapse
Posted by Don Baccus on
You don't need the "from dual", either ... the "from" clause is optional in PG.  We only supply dual so we can use unmodified queries more frequently, but since db_nextval is already different in Oracle and PG might as well leave it off entirely.  This will speed up the nextval query just a bit ...