> You need to set $PGDATA before running the script. And psql,pg_ctl and > pg_resetxlog need to be in $PATH. After running the script, restart > postmaster and run "SELECT * FROM t2". There should be one row in the > table, but it's empty.
I've tried this script, and superisingly found that T2 is not empty, just as it should be. Then I see how cluster is done, and found that ---------------------------(end of broadcast)--------------------------- TIP 2: Don't 'kill -9' the postmaster