Christoph Schmidt <cs(dot)wiechs(dot)ar(at)swol(dot)de> writes:
> So why not the standard ?
You can write it in the standard syntax if you wish.
pg_dump has its own reasons for using ALTER TABLE (which btw is also
fully standard): it wants to postpone creating indexes until after it's
done the bulk data loading, for speed reasons.
regards, tom lane