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

Home » FUDforum » How To » Reimport Causing Indexing Problems
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Reimport Causing Indexing Problems [message #12291 is a reply to message #12289] Sun, 03 August 2003 01:23 Go to previous messageGo to previous message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma:
Senior Member
Administrator
Core Developer
The old data import has a bug when dealing with PosgreSQL it does not set the new id for the primary key. Fortunately this problem is easily solved.
For all the forum tables that have an 'id' field do the following:
SELECT MAX(id) FROM TABLE_NAME;
SELECT setval('TABLE_NAME_seq_id', MAX_ID);


FUDforum Core Developer
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Confusion over inheritance and permissions
Next Topic: add forums / groups to FUDForum directly through MySQL
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Wed Nov 27 01:58:52 GMT 2024

Total time taken to generate the page: 0.05031 seconds