host=wwwtl555222com17008768000-HOSTNAME
General options:
-c, --command=COMMAND run only single command (SQL or internal) and exit
-d, --dbname=DBNAME database name to connect to (default: "postgres")
-f, --file=FILENAME execute commands from file, then exit
-l, --list list available databases, then exit
-v, --set=, --variable=NAME=VALUE
set psql variable NAME to VALUE
(e.g., -v >
-V, --version output version information, then exit
-X, --no-psqlrc do not read startup file (~/.psqlrc)
-1 ("one"), --single-transaction
execute as a single transaction (if non-interactive)
-?, --help[=options] show this help, then exit
--help=commands list backslash commands, then exit
--help=variables list special variables, then exit
Input and output options:
-a, --echo-all echo all input from script
-b, --echo-errors echo failed commands
-e, --echo-queries echo commands sent to server
-E, --echo-hidden display queries that internal commands generate
-L, --log-file=FILENAME send session log to file
-n, --no-readline disable enhanced command line editing (readline)
-o, --output=FILENAME send query results to file (or |pipe)
-q, --quiet run quietly (no messages, only query output)
-s, --single-step single-step mode (confirm each query)
-S, --single-line single-line mode (end of line terminates SQL command)
Output format options:
-A, --no-align unaligned table output mode
--csv CSV (Comma-Separated Values) table output mode
-F, --field-separator=STRING
field separator for unaligned output (default: "|")
-H, --html HTML table output mode
-P, --pset=VAR[=ARG] set printing option VAR to ARG (see \pset command)
-R, --record-separator=STRING
record separator for unaligned output (default: newline)
-t, --tuples-only print rows only
-T, --table-attr=TEXT set HTML table tag attributes (e.g., width, border)
-x, --expanded turn on expanded table output
-z, --field-separator-zero
set field separator for unaligned output to zero byte
-0, --record-separator-zero
set record separator for unaligned output to zero byte
Connection options:
-h, --host=HOSTNAME database server host or socket directory (default: "local socket")
-p, --port=PORT database server port (default: "5432")
-U, --username=USERNAME database user name (default: "postgres")
-w, --no-password never prompt for password
-W, --password force password prompt (should happen automatically)
For more information, type "\?" (for internal commands) or "\help" (for SQL
commands) from within psql, or consult the psql section in the PostgreSQL
documentation.
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/69993647/viewspace-2751629/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- proxy_set _header Host $host;Header
- net core 的Generic Host 之Generic Host BuilderUI
- Host是什麼?如何設定host檔案?
- location.host
- Virtualbox host plan
- VirtualBox Host-only Adapter,Failed to create the host-only adapter 轉APTAI
- use "jsdelivr" to host fileJSVR
- URL host 屬性
- Unable to execute SonarScanner analysis: Fail to get bootstrap index from server: Host is unreachable(Host unreachable)AIbootIndexServer
- Connection could not be established with host 求救
- Rewrite %{HTTP_HOST}用法HTTP
- unknown host 主機名
- “Host ‘xxxx‘ is not allowed to connect to this MySQL server“MySqlServer
- Qt QML之 JavaScript Host EnvironmentQTJavaScript
- Please specify (single) host string for connection:
- android USB host程式設計Android程式設計
- Host 'localhost' is not allowed to connect to this MySQL serverlocalhostMySqlServer
- 關於對Host的理解
- 理解ASP.NET Core - [04] HostASP.NET
- garmin USB: linux USB host驅動Linux
- Error:Unknow host 'service.gradle.org'ErrorGradle
- React版Host管理工具React
- Host 'xxx' is not allowed to connect to this MySQL server.MySqlServer
- win10 更改host檔案步驟_win10系統如何修改host檔案Win10
- ansible執行playbook報Host Key checking
- 【bash】關於 /dev/(tcp|udp)/${HOST}/${PORT}devTCPUDP
- Centos 6 DNS 配置 解決 Unknown hostCentOSDNS
- Go 程式碼中如何繫結 HostGo
- host 網路模式啟動 Jenkins 映象模式Jenkins
- linux usb 子系統(二)- host driverLinux
- 閘道器never_host設計
- .NET Core 3.0 之初識Host原始碼原始碼
- Shit!我的host到底怎麼了?
- ssh: connect to host localhost port 22: Connection refusedlocalhost
- MySQL-1130-host ... is not allowed to connect to this MySql serverMySqlServer
- [20221012]TNS-12543 TNSdestination host unreachable.txt
- Nginx代理設定 Host 和 X-Forward-ForNginxForward
- 學習Tomcat(四)之Engine和Host容器Tomcat