Error message

You are browsing documentation for drupal 7.x, which is not supported anymore. Read the updated version of this page for drupal 11.x (the latest version).

POSTGRESQL_NEXTID_LOCK

The name by which to obtain a lock for retrieving the next insert id.

Related topics

Database abstraction layer
Allow the use of different database servers using the same code base.
1 use of POSTGRESQL_NEXTID_LOCK
DatabaseConnection_pgsql::nextId in includes/database/pgsql/database.inc
Retrieve the next id in a sequence.

File

includes/database/pgsql/database.inc, line 16

Code

define ('POSTGRESQL_NEXTID_LOCK', 1000);

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.