Error "handhistories_pkey" is not a btree", How I Reindex ?
Results 1 to 3 of 3
  1. #1
    Member
    Join Date
    Oct 2008
    Posts
    64

    Default Error "handhistories_pkey" is not a btree", How I Reindex ?

    Hi, I´m not able to see the hands I play yesterday and when i tried to purge some hands i receive the error :

    "handhistories_pkey" is not a btree"

    I believe I should recreate this index in order to solve my problem.

    How can i do this ? Could you help me please ?

    Thanks and brds

  2. #2
    Member
    Join Date
    Oct 2008
    Posts
    64

    Default

    I found this tip but dont know if can use it to solve my problem :

    "It looks like your db has become partially corrupted

    You can fix it by doing this:

    1) Open pgadmin from your start menu in windows under postgresql
    2) Double click on the server name and enter your postgresql password (default is postgrespass)
    3) Click on Databases and select the current database
    4) Click on the Icon at the top that has the SQL and pencil
    5) Type

    alter table handhistories drop constraint handhistories_pkey

    and press F5 to run it. Then, when it is done, replace it with the line below and hit F5 again

    alter table handhistories add constraint handhistories_pkey PRIMARY KEY (pokerhand_id)

    After doing this launch Holdem Manager and try importing some new hands. It should work after this and you should be able to export as well.

    Thanks,

    Roy"

    ??

  3. #3
    Tech Support Manager morny's Avatar
    Join Date
    Jul 2008
    Location
    Ireland
    Posts
    20,888

    Default

    Update to this version which has a built in tool for rebuilding indexes: http://www.holdemmanager.com/downloa....06.04beta.exe

    And then follow this FAQ: http://www.holdemmanager.net/faq/afm...aspx?faqid=168
    --------------------------------------------------------------------------------------------------------------------
    We welcome any feedback on any solutions we provide, this helps us to provide better quality solutions in the future.

Similar Threads

  1. ERROR: 42702: column refernce "site_id" is ambiguous
    By guy101 in forum Manager General
    Replies: 3
    Last Post: 10-21-2008, 04:10 PM
  2. "An error occured while retreiving imported file list:"
    By swarma in forum Manager General
    Replies: 1
    Last Post: 09-28-2008, 10:25 AM
  3. Replies: 7
    Last Post: 08-23-2008, 12:16 PM
  4. Replies: 7
    Last Post: 08-17-2008, 01:14 AM
  5. Replies: 6
    Last Post: 08-08-2008, 03:10 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •