2012年12月9日 星期日

[PostgreSQL] Extract database schema into script file


pg_dump.exe --host=localhost --port=5432 --username=postgres --file=<script_file> -C -s stocktotal

Reference: PostgreSQL 9.2.2 Documentation

沒有留言:

張貼留言