This is a PostgreSQL restriction on the number of columns in a table so you will need to restrict the number of custom columns which are cached to less than 1,600. Each custom column has a 'Cache' checkbox - you can turn this off to prevent a column from being cached, and you will need to reduce the number of cached columns to less than 1,600 however if you are using custom content which is protected and cannot be viewed/edited in PokerTracker 4 then to get below 1,600 columns you will need to contact one or more of your premium providers and have some content disabled so that PokerTracker 4 doesn't load it or open a
Support Ticket listing the specific content you want disabled. Once you are below 1,600 custom columns you should be able to create a new database. You can also remove the check mark from the PokerTracker 4 option 'Configure -> Options -> Download Premium Content' then close/restart PokerTracker 4 but this will disable all premium content. If you do not know how many custom columns you currently have click your Windows Start button then type the following:
pgadminand click on it when it appears. Double click on "PostgreSQL x" (where x is your PostgreSQL version) and if your prompted for a password the default is "dbpass" (without the quotes). Next double click on "Databases -> YOUR_DATABASE_NAME -> Schemas -> Public -> Tables -> cash_custom_cache (and/or tourney custom cache for tournaments) and the number in brackets is the number of custom columns.