set PGPORT=5432
set PGHOST=localhost
set PGUSER=postgres
set PGPASSWORD=123456
set THEDB=tysh_gdq
set PGBIN=C:\Program Files\PostgreSQL\10\bin
"%PGBIN%\psql" -d "%THEDB%" -c "CREATE EXTENSION fuzzystrmatch;"
pause
set PGPORT=5432
set PGHOST=localhost
set PGUSER=postgres
set PGPASSWORD=123456
set THEDB=tysh_gdq
set PGBIN=C:\Program Files\PostgreSQL\10\bin
"%PGBIN%\psql" -d "%THEDB%" -c "CREATE EXTENSION fuzzystrmatch;"
pause
本文标题:postgresql使用bat执行sql语句
本文链接:https://www.haomeiwen.com/subject/wslozltx.html
网友评论