Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> writes:
> Also, I think we have to have a SET before every CREATE TABLE.
No, only when the value changes from last time. This is not rocket
science, it's the way pg_dump handles SETs already.
regards, tom lane