sql命令帮助查看

最近更新时间: 2024-10-17 17:10:00

postgres=# \h
Available help:
  ABORT                            ALTER USER                       CREATE ROLE                      DROP INDEX                       LOCK
  ALTER AGGREGATE                  ALTER USER MAPPING               CREATE RULE                      DROP LANGUAGE                    MOVE
  ALTER COLLATION                  ALTER VIEW                       CREATE SCHEMA                    DROP MATERIALIZED VIEW           NOTIFY
。。。

postgres=# \h begin;
Command:     BEGIN
Description: start a transaction block
Syntax:
BEGIN [ WORK | TRANSACTION ] [ transaction_mode [, ...] ]

where transaction_mode is one of:

    ISOLATION LEVEL { SERIALIZABLE | REPEATABLE READ | READ COMMITTED | READ UNCOMMITTED }
    READ WRITE | READ ONLY
    [ NOT ] DEFERRABLE

postgres=#