Radicore Forum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » RADICORE » RADICORE Installation Issues » Duplicate key value in Postgresql dict-data.sql
Re: Duplicate key value in Postgresql dict-data.sql [message #2261 is a reply to message #2260] Wed, 12 August 2009 15:35 Go to previous messageGo to previous message
AJM is currently offline  AJM
Messages: 2350
Registered: April 2006
Location: Surrey, UK
Senior Member
That fle is a copy of dict\sql\mysql\dict-data.sql which uses REPLACE instead of INSERT. Apart from the fact that it allows the script to be run more than once without error, it also caters for the fact that where a record has two foreign keys it is specified once for each foreign key.

I get round any problem by loading the script with pgAdminIII and the 'Execute pgscript' function instead of the 'Execute query' function. This issues a warning with each duplicate key, not an error.


 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: XML/XSL rights issue
Next Topic: Data base import and 'dict_table(list)2'
Goto Forum:
  


Current Time: Sun May 12 06:01:17 EDT 2024

Total time taken to generate the page: 0.03140 seconds