Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
The SQL statements in the hook_install() and hook_update_n() functions is incompatible with PostgreSQL. The attached patch file includes an update to correct this.
The patch does two things:
- Changes the "`" field delimiter character into a computed value based on $db_type global variable.
- Changes the SQL in the UPDATE statements to be compatible with both MySQL and PostgreSQL databases.
Comment | File | Size | Author |
---|---|---|---|
exclude_node_title-pgsql.patch | 1.81 KB | jburkhard |
Comments
Comment #1
Simon Georges CreditAttribution: Simon Georges commentedChanging status, as there is a patch.
Comment #2
moskito CreditAttribution: moskito commentedThis issue is the same of #1645344: Fatal error on postgresql - ERROR: syntax error at or near "`" LINE 1: INSERT INTO role_permission, that affect a different version. IMO, solution in #1645344 seems more simple and should be backported to 6.x version.
Comment #3
fizk CreditAttribution: fizk commentedFixed, thanks!
http://drupalcode.org/project/exclude_node_title.git/commit/ea9afbd69653...