Ways to deal with large amount of columns; - Mailing list pgsql-general

Hi all:

I need to make a table contains projected monthly cashflow for multiple agents (10,000 around).

Therefore, the column number would be 1000+. 

I would need to perform simple aggregate function such as count, sum or average on each cashflow projected.

So if there is anyway of doing this? Will there be anything like define a macro in C that I can manipulate multiple columns by simple word that representing them.

Thanks so much!

Shore

pgsql-general by date:

Previous
From: saurabh shelar
Date:
Subject: Re: Issue with psqlrc with command line.
Next
From: Gunnlaugur Thor Briem
Date:
Subject: Re: pg_upgrade fails saying function unaccent(text) doesn't exist