Jim Nasby wrote: > On 2/27/15 2:37 PM, Gavin Flower wrote: > >Might be an idea to allow lists of columns and their starting position. > > > >ALTER TABLE customer ALTER COLUMN (job_id, type_id, account_num) SET > >ORDER 3; > > I would certainly want something along those lines because it would be *way* > less verbose (and presumably a lot faster) than a slew of ALTER TABLE > statements.
You know you can issue multiple subcommands in one ALTER TABLE statement, right? There's no reason to do more than one table rewrite. -- Álvaro Herrera http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers