by TonyB73 » Fri Nov 07, 2008 10:52 pm
And here is the log file entry for the second one:
2008/11/08 13:33:20.591: [00001028][PostgresConnection (Error)] Unable to execute query: SELECT id_limit, sum(cnt_vpip), sum(cnt_hands), sum(cnt_pfr), sum(cnt_f_saw_won), sum(cnt_f_saw), sum(cnt_wtsd), sum(cnt_wtsd_won), sum(cnt_f_bet), sum(cnt_f_raise), sum(cnt_t_bet), sum(cnt_t_raise), sum(cnt_r_bet), sum(cnt_r_raise), sum(cnt_f_call), sum(cnt_t_call), sum(cnt_r_call), sum(cnt_f_fold), sum(cnt_t_fold), sum(cnt_r_fold), sum(cnt_p_3bet), sum(cnt_f_3bet), sum(cnt_t_3bet), sum(cnt_r_3bet), sum(cnt_p_3bet_opp), sum(cnt_f_3bet_opp), sum(cnt_t_3bet_opp), sum(cnt_r_3bet_opp), sum(cnt_p_3bet_def_action_fold), sum(cnt_f_3bet_def_action_fold), sum(cnt_t_3bet_def_action_fold), sum(cnt_r_3bet_def_action_fold), sum(cnt_p_3bet_def_opp), sum(cnt_f_3bet_def_opp), sum(cnt_t_3bet_def_opp), sum(cnt_r_3bet_def_opp), sum(cnt_steal_att), sum(cnt_steal_opp), sum(cnt_bb_steal_fold), sum(cnt_steal_def_opp_bb), sum(cnt_sb_steal_fold), sum(cnt_steal_def_opp_sb), sum(amt_won) FROM ( SELECT (holdem_hand_player_statistics.id_limit) as "id_limit", (sum((case when(holdem_hand_player_statistics.flg_vpip) then 1 else 0 end))) as "cnt_vpip", (count(holdem_hand_player_statistics.id_hand)) as "cnt_hands", (sum((case when(holdem_hand_player_statistics.cnt_p_raise > 0) then 1 else 0 end))) as "cnt_pfr", (sum((case when(holdem_hand_player_statistics.flg_won_hand AND holdem_hand_player_statistics.flg_f_saw) then 1 else 0 end))) as "cnt_f_saw_won", (sum((case when(holdem_hand_player_statistics.flg_f_saw) then 1 else 0 end))) as "cnt_f_saw", (sum((case when(holdem_hand_player_statistics.flg_showdown) then 1 else 0 end))) as "cnt_wtsd", (sum( (case when(holdem_hand_player_statistics.flg_showdown AND holdem_hand_player_statistics.flg_won_hand) then 1 else 0 end))) as "cnt_wtsd_won", (sum((case when(holdem_hand_player_statistics.flg_f_bet) then 1 else 0 end))) as "cnt_f_bet", (sum(holdem_hand_player_statistics.cnt_f_raise)) as "cnt_f_raise", (sum((case when(holdem_hand_player_statistics.flg_t_bet) then 1 else 0 end))) as "cnt_t_bet", (sum(holdem_hand_player_statistics.cnt_t_raise)) as "cnt_t_raise", (sum((case when(holdem_hand_player_statistics.flg_r_bet) then 1 else 0 end))) as "cnt_r_bet", (sum(holdem_hand_player_statistics.cnt_r_raise)) as "cnt_r_raise", (sum(holdem_hand_player_statistics.cnt_f_call)) as "cnt_f_call", (sum(holdem_hand_player_statistics.cnt_t_call)) as "cnt_t_call", (sum(holdem_hand_player_statistics.cnt_r_call)) as "cnt_r_call", (sum((case when(holdem_hand_player_statistics.flg_f_fold) then 1 else 0 end))) as "cnt_f_fold", (sum((case when(holdem_hand_player_statistics.flg_t_fold) then 1 else 0 end))) as "cnt_t_fold", (sum((case when(holdem_hand_player_statistics.flg_r_fold) then 1 else 0 end))) as "cnt_r_fold", (sum((case when(holdem_hand_player_statistics.flg_p_3bet) then 1 else 0 end))) as "cnt_p_3bet", (sum((case when(holdem_hand_player_statistics.flg_f_3bet) then 1 else 0 end))) as "cnt_f_3bet", (sum((case when(holdem_hand_player_statistics.flg_t_3bet) then 1 else 0 end))) as "cnt_t_3bet", (sum((case when(holdem_hand_player_statistics.flg_r_3bet) then 1 else 0 end))) as "cnt_r_3bet", (sum((case when(holdem_hand_player_statistics.flg_p_3bet_opp) then 1 else 0 end))) as "cnt_p_3bet_opp", (sum((case when(holdem_hand_player_statistics.flg_f_3bet_opp) then 1 else 0 end))) as "cnt_f_3bet_opp", (sum((case when(holdem_hand_player_statistics.flg_t_3bet_opp) then 1 else 0 end))) as "cnt_t_3bet_opp", (sum((case when(holdem_hand_player_statistics.flg_r_3bet_opp) then 1 else 0 end))) as "cnt_r_3bet_opp", (sum((case when(holdem_hand_player_statistics.enum_p_3bet_action='F') then 1 else 0 end))) as "cnt_p_3bet_def_action_fold", (sum((case when(holdem_hand_player_statistics.enum_f_3bet_action='F') then 1 else 0 end))) as "cnt_f_3bet_def_action_fold", (sum((case when(holdem_hand_player_statistics.enum_t_3bet_action='F') then 1 else 0 end))) as "cnt_t_3bet_def_action_fold", (sum((case when(holdem_hand_player_statistics.enum_r_3bet_action='F') then 1 else 0 end))) as "cnt_r_3bet_def_action_fold", (sum((case when(holdem_hand_player_statistics.flg_p_3bet_def_opp) then 1 else 0 end))) as "cnt_p_3bet_def_opp", (sum((case when(holdem_hand_player_statistics.flg_f_3bet_def_opp) then 1 else 0 end))) as "cnt_f_3bet_def_opp", (sum((case when(holdem_hand_player_statistics.flg_t_3bet_def_opp) then 1 else 0 end))) as "cnt_t_3bet_def_opp", (sum((case when(holdem_hand_player_statistics.flg_r_3bet_def_opp) then 1 else 0 end))) as "cnt_r_3bet_def_opp", (sum((case when(holdem_hand_player_statistics.flg_steal_att) then 1 else 0 end))) as "cnt_steal_att", (sum((case when(holdem_hand_player_statistics.flg_steal_opp) then 1 else 0 end))) as "cnt_steal_opp", (sum((case when(holdem_hand_player_statistics.flg_bb_steal_fold) then 1 else 0 end))) as "cnt_bb_steal_fold", (sum( (case when(holdem_hand_player_statistics.flg_blind_def_opp AND holdem_hand_player_statistics.flg_blind_b) then 1 else 0 end))) as "cnt_steal_def_opp_bb", (sum((case when(holdem_hand_player_statistics.flg_sb_steal_fold) then 1 else 0 end))) as "cnt_sb_steal_fold", (sum( (case when(holdem_hand_player_statistics.flg_blind_def_opp AND holdem_hand_player_statistics.flg_blind_s) then 1 else 0 end))) as "cnt_steal_def_opp_sb", (sum(holdem_hand_player_statistics.amt_won)) as "amt_won" FROM holdem_hand_player_statistics WHERE (holdem_hand_player_statistics.id_player = 7) GROUP BY (holdem_hand_player_statistics.id_limit) UNION SELECT holdem_cache.id_limit, sum(holdem_cache.cnt_vpip), sum(holdem_cache.cnt_hands), sum(holdem_cache.cnt_pfr), sum(holdem_cache.cnt_f_saw_won), sum(holdem_cache.cnt_f_saw), sum(holdem_cache.cnt_wtsd), sum(holdem_cache.cnt_wtsd_won), sum(holdem_cache.cnt_f_bet), sum(holdem_cache.cnt_f_raise), sum(holdem_cache.cnt_t_bet), sum(holdem_cache.cnt_t_raise), sum(holdem_cache.cnt_r_bet), sum(holdem_cache.cnt_r_raise), sum(holdem_cache.cnt_f_call), sum(holdem_cache.cnt_t_call), sum(holdem_cache.cnt_r_call), sum(holdem_cache.cnt_f_fold), sum(holdem_cache.cnt_t_fold), sum(holdem_cache.cnt_r_fold), sum(holdem_cache.cnt_p_3bet), sum(holdem_cache.cnt_f_3bet), sum(holdem_cache.cnt_t_3bet), sum(holdem_cache.cnt_r_3bet), sum(holdem_cache.cnt_p_3bet_opp), sum(holdem_cache.cnt_f_3bet_opp), sum(holdem_cache.cnt_t_3bet_opp), sum(holdem_cache.cnt_r_3bet_opp), sum(holdem_cache.cnt_p_3bet_def_action_fold), sum(holdem_cache.cnt_f_3bet_def_action_fold), sum(holdem_cache.cnt_t_3bet_def_action_fold), sum(holdem_cache.cnt_r_3bet_def_action_fold), sum(holdem_cache.cnt_p_3bet_def_opp), sum(holdem_cache.cnt_f_3bet_def_opp), sum(holdem_cache.cnt_t_3bet_def_opp), sum(holdem_cache.cnt_r_3bet_def_opp), sum(holdem_cache.cnt_steal_att), sum(holdem_cache.cnt_steal_opp), sum(holdem_cache.cnt_bb_steal_fold), sum(holdem_cache.cnt_steal_def_opp_bb), sum(holdem_cache.cnt_sb_steal_fold), sum(holdem_cache.cnt_steal_def_opp_sb), sum(holdem_cache.amt_won) FROM holdem_cache WHERE holdem_cache.id_player = 7 GROUP BY holdem_cache.id_limit) AS CacheTable GROUP BY id_limit; Reason: Fatal Error (ERROR: could not read block 1163 of relation 1663/20576/22866: Invalid argument )