SQL文のバッチ処理 tappe 19年前 SQL文をbatch.sqlに記述しておき、testdbに対して実行するとき postgres$ psql testdb -U postgres -f batch.sql