pg.ddx.io pgsql-bugs@postgresql.org mailing list archivehelp / color / mirror / Atom feed
BUG #6463: tables can have at most 1600 columns 2+ messages / 2 participants [nested] [flat]
* BUG #6463: tables can have at most 1600 columns @ 2012-02-18 10:16 khalil.alijani@gmail.com 0 siblings, 1 reply; 2+ messages in thread From: khalil.alijani@gmail.com @ 2012-02-18 10:16 UTC (permalink / raw) To: pgsql-bugs The following bug has been logged on the website: Bug reference: 6463 Logged by: khalil alijani Email address: khalil.alijani@gmail.com PostgreSQL version: 8.4.10 Operating system: ubuntu Description: I drop a column but Postgresql still shows old (deleted) columns... My Java program does this: drop a boolean column and then add same column (with same name and specification), in dozens times, because updating (this) column is very slow !!! AND finally it says "tables can have at most 1600 columns" thank ... ^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: BUG #6463: tables can have at most 1600 columns @ 2012-02-18 16:30 Tom Lane <tgl@sss.pgh.pa.us> parent: khalil.alijani@gmail.com 0 siblings, 0 replies; 2+ messages in thread From: Tom Lane @ 2012-02-18 16:30 UTC (permalink / raw) To: khalil.alijani@gmail.com; +Cc: pgsql-bugs > I drop a column but Postgresql still shows old (deleted) columns... > My Java program does this: > drop a boolean column and then add same column (with same name and > specification), in dozens times, because updating (this) column is very slow > !!! > AND finally it says "tables can have at most 1600 columns" Sorry, this is not a bug, or at least we're not going to fix it. The fact that DROP COLUMN doesn't physically remove the column is an intentional design decision. If we didn't do it that way, dropping a column would require rewriting the entire table (and all its indexes) and so would be horribly slow. Perhaps if you discussed why you think that repeatedly dropping and re-adding a column is a useful thing to do, we could help you find another way. The bugs list is not the place for that discussion, however. regards, tom lane ^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2012-02-18 16:30 UTC | newest] Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2012-02-18 10:16 BUG #6463: tables can have at most 1600 columns khalil.alijani@gmail.com 2012-02-18 16:30 ` Tom Lane <tgl@sss.pgh.pa.us>
This inbox is served by DDX for PostgreSQL; see mirroring instructions for how to clone and mirror all data and code used for this inbox