database error 7, cant import

Forum with tips, support, etc, on using the PostgreSQL database with Poker Tracker. Please post any PostgreSQL questions here.

database error 7, cant import

Postby hannibie » Wed Jul 23, 2008 6:26 am

I have 2 databases, since yesterday the no limit DB shows me this error message, the other db is working.
i get this message with every pokersite (eg party and gnuf)
worked fine 2 days ago
pls help, thx

PT Version: 2.17.02a
Error Date: 07/23/2008 12:07
Database Error: 7
Error Text: SQLSTATE = S1000
ERROR: index "tourney_game_players_idx_02" is not a btree

No changes made to database.

INSERT INTO tourney_game_players ( tourney_id, game_id, player_id, seat_number, button, pre_flop_bet, flop_bet, turn_bet, river_bet, total_bet, total_won, when_folded, all_in, forced_all_in, won_hand, off_the_button, number_of_players, big_blind_n, small_blind_n, pre_flop_raise_n, flop_raise_n, flop_ck_raise_n, turn_bet_raise_n, turn_bet_ck_raise_n, river_bet_raise_n, river_bet_ck_raise_n, went_to_showdown_n, saw_flop_n, saw_flop_blind_n, attempted_steal, chance_to_steal, steal_attempted, folded_to_steal_attempt, raised_first_pf, vol_put_money_in_pot, limp_with_prev_callers, ppossible_actions, pfold, pcheck, pbet, praise, pcall, limp_call_reraise_pf, pfr_check, pfr_call, pfr_fold, pfr_bet, pfr_raise, folded_to_river_bet, fpossible_actions, ffold, fcheck, fbet, fraise, fcall, tpossible_actions, tfold, tcheck, tbet, traise, tcall, rpossible_actions, rfold, rbet, rcheck, rraise, rcall, real_player_id, cold_call_pf, steal_hu_chance, steal_hu_fold, chip_count, ante_amt, blind_amt ) VALUES ( 753, 31353, 6348, 9, 6, 320.0000, 0.0000, 0.0000, 0.0000, 320.0000, 0.0000, 'Pre-flop', 0, 0, 0, 5, 7, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 6348, 0, 0, 0, 5992.5000, 20.0000, 300.0000 )
DataObject: d_game_players_tourney
Syntax In Error: INSERT INTO tourney_game_players ( tourney_id, game_id, player_id, seat_number, button, pre_flop_bet, flop_bet, turn_bet, river_bet, total_bet, total_won, when_folded, all_in, forced_all_in, won_hand, off_the_button, number_of_players, big_blind_n, small_blind_n, pre_flop_raise_n, flop_raise_n, flop_ck_raise_n, turn_bet_raise_n, turn_bet_ck_raise_n, river_bet_raise_n, river_bet_ck_raise_n, went_to_showdown_n, saw_flop_n, saw_flop_blind_n, attempted_steal, chance_to_steal, steal_attempted, folded_to_steal_attempt, raised_first_pf, vol_put_money_in_pot, limp_with_prev_callers, ppossible_actions, pfold, pcheck, pbet, praise, pcall, limp_call_reraise_pf, pfr_check, pfr_call, pfr_fold, pfr_bet, pfr_raise, folded_to_river_bet, fpossible_actions, ffold, fcheck, fbet, fraise, fcall, tpossible_actions, tfold, tcheck, tbet, traise, tcall, rpossible_actions, rfold, rbet, rcheck, rraise, rcall, real_player_id, cold_call_pf, steal_hu_chance, steal_hu_fold, chip_count, ante_amt, blind_amt ) VALUES ( 753, 31353, 6348, 9, 6, 320.0000, 0.0000, 0.0000, 0.0000, 320.0000, 0.0000, 'Pre-flop', 0, 0, 0, 5, 7, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 6348, 0, 0, 0, 5992.5000, 20.0000, 300.0000 )
*********************************
hannibie
 
Posts: 2
Joined: Sat Mar 08, 2008 4:29 am

Re: database error 7, cant import

Postby ptrack pat » Wed Jul 23, 2008 8:19 am

You can try reindexing as detailed here
http://www.pokertracker3.com/forums/arc ... ex+pgadmin

You can just reindex the TOURNEY_GAME_PLAYERS table as that is the one causing the error.
ptrack pat
 
Posts: 4841
Joined: Sun Dec 09, 2007 12:38 pm

Re: database error 7, cant import

Postby hannibie » Wed Jul 23, 2008 8:55 am

thank you, I read that in the archives,
but it didn't work out.
i restored the db from a backup now.

thx for your fast reply anyway
hannibie
 
Posts: 2
Joined: Sat Mar 08, 2008 4:29 am


Return to PostgreSQL Forum

Who is online

Users browsing this forum: No registered users and 0 guests