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.
INSERT IGNORE is a MySQL specific syntax used in user_terms.module line 401. The code preceding it removes and terms before re inserting therefore has no reason to use this style syntax.
Can you please remote the 'IGNORE' part which will make PostgreSQL users much happier.
Comment | File | Size | Author |
---|---|---|---|
#1 | 1033208.user_terms.remove-insert-ignore.patch | 675 bytes | joachim |
Comments
Comment #1
joachim CreditAttribution: joachim commentedYup, you're right, there's no need for the IGNORE as the old terms are all deleted first. Thanks for reporting this.
Committed this patch.
#1033208 by joachim: Fixed invalid syntax for PostgreSQL.