Not sure if I am posting this issue in the correct place, if not I am sorry:
I used this module to import CSV multichoice questions and for each question imported I get multiple errors like this:
warning: pg_query(): Query failed: ERROR: syntax error at or near "REPLACE" LINE 1: REPLACE INTO quiz_multichoice_user_settings ^ in /var/www/sparcs/includes/database.pgsql.inc on line 139.
user warning: query: REPLACE INTO quiz_multichoice_user_settings (uid, choice_random, choice_multi, choice_boolean) VALUES (1, 0, 0, 0) in /var/www/sparcs/sites/all/modules/quiz/question_types/multichoice/multichoice.classes.inc on line 666.
Franco
Comments
Comment #1
sivaji_ganesh_jojodae commentedThe error is reported to be caused by line /var/www/sparcs/sites/all/modules/quiz/question_types/multichoice/multichoice.classes.inc on line 666. Reason, REPLACE INTO doesn't exists in PostgreSQL see http://groups.drupal.org/node/9243, moving this bug to quiz issue queue.
Comment #2
falcon commentedI won't fix any database specific bugs in Quiz 4 for D6, but I'll be happy to commit patches.
Comment #3
ezraw commentedDupe of #935470: Support for Postgres