postgreSQL事务(篇二)

在第一次启动服务后,或者,后面重新启动,执行命令:pg_ctl restartC:\Users\Administrator>pg_ctl restart等待2019-11-17 15:53:34.949 HKT [39312] LOG: received fast shutdown request服务器进程关闭 ....2019-11-17 15:53:35.061 HKT [3...
摘要由CSDN通过智能技术生成

在第一次启动服务后,或者,后面重新启动,执行命令:pg_ctl restart

C:\Users\Administrator>pg_ctl restart
等待2019-11-17 15:53:34.949 HKT [39312] LOG:  received fast shutdown request
服务器进程关闭 ....2019-11-17 15:53:35.061 HKT [39312] LOG:  aborting any active transactions
2019-11-17 15:53:35.095 HKT [39312] LOG:  background worker "logical replication launcher" (PID 39432) exited with exit code 1
2019-11-17 15:53:35.100 HKT [39536] LOG:  shutting down
2019-11-17 15:53:35.291 HKT [39312] LOG:  database system is shut down
 完成
服务器进程已经关闭
等待服务器进程启动 ....2019-11-17 15:53:35.671 HKT [17888] LOG:  starting PostgreSQL 12.0, compiled by Visual C++ build 1914, 64-bit
2019-11-17 15:53:35.685 HKT [17888] LOG:  listening on IPv6 address "::1", port 5432
2019-11-17 15:53:35.686 HKT [17888] LOG:  listening on IPv4 address "127.0.0.1", port 5432
2019-11-17 15:53:35.878 HKT [39672] LOG:  database system was shut down at 2019-11-17 15:53:35 HKT
2019-11-17 15:53:36.179 HKT [17888] LOG:  database system is ready to accept connections
 完成
服务器进程已经启动

然后执行命令:psql -U postgres (进入超级用户)

C:\Users\Administrator>psql -U postgres
psql (12.0)
输入 "help" 来获取帮助信息.

postgres=# quit

执行命令:quit 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值