6f536d29e7
Database.py : fillDefaultData() Remove manual 'id' from INSERT command. In database schema, TourneyTypes.id is a primary key and thus autoincrement. In postgres, autoincrements are implemented as sequences - inserting a value "manually" bypasses the sequence generation, which resulted in a remarkably weird error. Namely, upon the first hand to import, the insert fails due to primary key violation. The default value from an unused sequence is 1, but a row with such an id already exists. The solution is to create the single row of default data values with unspecified TourneyTypes.id, hence allowing postgres to generate the correct id from the sequence. This way the import works again. |
||
---|---|---|
docs | ||
packaging | ||
pyfpdb | ||
regression-test | ||
utils | ||
setup.py | ||
THANKS.txt |
README.txt updated 26 March 2009, REB fpdb - Free Poker Database The most accurate and up-to-date information on fpdb will be found in the wiki: http://fpdb.wiki.sourceforge.net/ Other resources are: Mailing list: http://sourceforge.net/mailarchive/forum.php?forum_name=fpdb-main Chat room(irc): #fpdb on freenode.net fpdb is a free program for use with on line poker. It provides: Tracking of your results and statistics. Tracking of opponents' results statistics. Win/loss graphing Heads Up Display (HUD) with a variety of statistics Display of mucked cards in the HUD fpdb supports: Sites: PokerStars Full Tilt Poker Everleaf Network Other sites are under development and are easily added Games: Holdem Omaha (incl Hi/low) 7 Card Stud (incl Hi/low) Razz Draw support is under development Mixed Games -- HUD under development Operating Systems: Linux and other Unix-like, using X Windows Mac OS/X -- no support for HUD Databases: MySQL PostgreSQL SQLite under development Downloads: Releases: http://sourceforge.net/project/showfiles.php?group_id=226872 Development code via git: http://www.assembla.com/spaces/free_poker_tools/trac_git_tool Developers: At least 7 people have contributed code or patches. Others are welcome. License ======= Trademarks of third parties have been used under Fair Use or similar laws. Copyright 2008 Steffen Jobbagy-Felso Copyright 2009 Ray E. Barker Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 as published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and with no Back-Cover Texts. A copy of the license can be found in fdl-1.2.txt fpdb itself is licensed under AGPLv3, see agpl-3.0.txt.