While trying to set up taxonomy terms (English/Spanish), I got these error messages:

    * warning: pg_query() [function.pg-query]: Query failed: ERROR: syntax error at or near "term_data" at character 13 in /usr/share/drupal/includes/database.pgsql.inc on line 139.
    * user warning: query: LOCK TABLES term_data WRITE in /var/local/drupal/modules/i18n-6.x-1.0/i18ntaxonomy/i18ntaxonomy.admin.inc on line 122.
    * warning: pg_query() [function.pg-query]: Query failed: ERROR: syntax error at or near "UNLOCK" at character 1 in /usr/share/drupal/includes/database.pgsql.inc on line 139.
    * user warning: query: UNLOCK TABLES in /var/local/drupal/modules/i18n-6.x-1.0/i18ntaxonomy/i18ntaxonomy.admin.inc on line 126.

UNLOCK does not exist in PostgreSQL (see: http://www.postgresql.org/docs/8.1/static/sql-lock.html)
I'm not sure if there's a WRITE in PostgreSQL either.

Comments

jenifertucker’s picture

Assigned: jenifertucker » Unassigned
jose reyero’s picture

Status: Active » Fixed

It should be fixed, using db api function now which should be pgsql compatible.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.