"Scott Marlowe" <smarlowe(at)g2switchworks(dot)com> wrote
>
> Under no circumstances should you do this with a database that has any
> data in it that you value. pg_dump / pg_restore / psql are the
> preferred way of doing this.
>
Oh yeah, sorry for the miss leading information. My method is dangerous and
can not cover all the cases (say you have an external stored column, etc).
Sorry about it,
Qingqing