database wwwhjw1688com 17OO8768OOO-server host or socket directory
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-2751627/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- oracle 之recovery directory databaseOracleDatabase
- 【oracle官網】 Restoring a Database on a New HostOracleRESTDatabase
- Duplicate database from non ASM to ASM to a different host [ID 382669.1]DatabaseASM
- DUPLICATE (Backup based) DATABASE from non ASM to ASM to different host_382669.1DatabaseASM
- 12C Duplicating a Database to a Remote Host by Using Backup-based DuplicationDatabaseREM
- Duplicate database from non ASM to ASM (vise versa) to a different host-382669.1DatabaseASM
- Oracle ASM User Directory and Group DirectoryOracleASM
- proxy_set _header Host $host;Header
- MySQL 建表DATA DIRECTORY 、INDEX DIRECTORY 簡介MySqlIndex
- create directory in OracleOracle
- 配置hive後設資料庫mysql時候出現 Unable to find the JDBC database jar on host : masterHive資料庫MySqlJDBCDatabaseJARAST
- Host是什麼?如何設定host檔案?
- Oracle ASM Disk DirectoryOracleASM
- Oracle ASM File DirectoryOracleASM
- Oracle ASM Alias DirectoryOracleASM
- Oracle ASM Template DirectoryOracleASM
- asmcmd does not exist in directoryASM
- move oracle 10 directoryOracle
- shell script to rename directory
- ORACLE directory 目錄Oracle
- mac修改hostMac
- ubuntu配置HOSTUbuntu
- Google:host配置Go
- ubuntu修改hostUbuntu
- net core 的Generic Host 之Generic Host BuilderUI
- Grid Control remove host and re-add hostREM
- socket
- The directory xx is registered as a Git rootGit
- Oracle ASM Attributes DirectoryOracleASM
- Oracle ASM Volume DirectoryOracleASM
- Oracle ASM Active Change DirectoryOracleASM
- Active Directory 常用屬性
- python unix :No such file or directoryPython
- URL host 屬性
- nginx host常用配置Nginx
- TCP socket和web socket的區別TCPWeb
- Unable to execute SonarScanner analysis: Fail to get bootstrap index from server: Host is unreachable(Host unreachable)AIbootIndexServer
- docker容器掛載 No such file or directoryDocker