Postgresql doesn't do REPLACE INTO

kjcole - January 16, 2009 - 22:39
Project:GeoNames
Version:6.x-1.1
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed
Issue tags:PostgreSQL
Description

geonames.module uses "REPLACE INTO" which appears to be a MySQL-only bit.

The How to write PostgreSQL-friendly SQL page on the Drupal Groups site suggests that w/ Drupal 6, this will become more of an issue and offers some suggestions on code to replace MySQL-only code...

#1

xmarket - July 12, 2009 - 17:07

Could you please repair this bug! I would like to use this module, but my drupal runs with postgresql and I gave the same error messages.

Thanks!

#2

lyricnz - September 7, 2009 - 13:54
Status:active» fixed

I happen to have just replaced this code with a truncate/add - so I think this issue is fixed

http://cvs.drupal.org/viewvc.py/drupal/contributions/modules/geonames/ge...

#3

System Message - September 21, 2009 - 14:00
Status:fixed» closed

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

 
 

Drupal is a registered trademark of Dries Buytaert.