pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: 钱学斌 <775680989@qq.com>
To: pgsql-bugs <pgsql-bugs@postgresql.org>
Subject: pgsql bug
Date: Mon, 28 Jan 2019 10:28:46 +0800
Message-ID: <tencent_CB4679F1F056DD4E7C29C8D02C4263F5AB0A@qq.com> (raw)

在我写sh脚本时遇到了一个bug


echo -e "PGsql服务启动中......"
sleep 5
su - postgres
service postgresql start
exit



执行后,系统没有反应。并没有让我输入pg库的密码,当我手动输入  exit ,却显示我登陆成功了。查看了进程,5432端口也有了

view thread (5+ messages)

Message-ID: <tencent_CB4679F1F056DD4E7C29C8D02C4263F5AB0A@qq.com>
Permalink:  ../tencent_CB4679F1F056DD4E7C29C8D02C4263F5AB0A@qq.com/
Also on:    postgresql.org/message-id/tencent_CB4679F1F056DD4E7C29C8D02C4263F5AB0A@qq.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: 775680989@qq.com
  Subject: Re: pgsql bug
  In-Reply-To: <tencent_CB4679F1F056DD4E7C29C8D02C4263F5AB0A@qq.com>
  References: <tencent_CB4679F1F056DD4E7C29C8D02C4263F5AB0A@qq.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox