su - postgres
cd /usr/local/pgsql/bin
/usr/local/pgsql/bin/pg_ctl -D /usr/local/pgsql/data -l logfile start
./createdb testdb01
./psql -d testdb01
\i 1.sql \*\import table to db
alter user postgres with password 'test';
su - postgres
cd /usr/local/pgsql/bin
/usr/local/pgsql/bin/pg_ctl -D /usr/local/pgsql/data -l logfile start
./createdb testdb01
./psql -d testdb01
\i 1.sql \*\import table to db
alter user postgres with password 'test';