Postgres 的一些命令 mac下

Postgres 的一些命令 mac下

  1. TNT:~ rilintech$ psql -U postgres -h 127.0.0.1
    进入postgres
  2. rilintech$ postgres=# \l
    数据库list
  3. postgres=# \c changhai_ibd_ios
    You are now connected to database “changhai_ibd_ios” as user “postgres”.
    4.changhai_ibd_ios=# \dt
    List of relations
    Schema | Name | Type | Owner
    ——–+—————————-+——-+———-
    public | crf_tables | table | postgres
    public | crf_tables_menu_libs | table | postgres
    public | diagnose_details | table | postgres
    public | diagnose_specifications | table | postgres
    public | diagnose_types | table | postgres
    public | follow_ups | table | postgres
    public | foreign_libs | table | postgres
    public | groups | table | postgres
    public | hospital_records | table | postgres
    public | image_types | table | postgres
    public | item_values | table | postgres
    public | items | table | postgres
    public | lib_certificate_type_infos | table | postgres
    public | lib_configs | table | postgres
    public | lib_groups | table | postgres
    public | lib_languages | table | postgres
    public | lib_nations | table | postgres
    public | lib_publics | table | postgres
    public | lib_role_groups | table | postgres
    public | menu_libs | table | postgres
    :
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值