Re: Script checking to see what database it's connected to

From: Ron <ronljohnsonjr(at)gmail(dot)com>
To: Julien Rouhaud <rjuju123(at)gmail(dot)com>
Cc: "pgsql-generallists(dot)postgresql(dot)org" <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: Re: Script checking to see what database it's connected to
Date: 2021-02-22 02:38:20
Message-ID: f0c4cc59-2ab1-511b-e139-d81dd79201cc@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 2/21/21 7:19 PM, Julien Rouhaud wrote:
[snip]
> Well, the supported commands did work. You should probably look at
> https://www.postgresql.org/docs/current/app-psql.html, you'd see that
> "exit" is not a supported command and you should instead use \q[uit].
> I recommend looking at the semantics of \quit though, given your next
> message mentioning \include.

I assumed "exit" is a valid command because I do this so often in bash... :(

--
Angular momentum makes the world go 'round.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Ian Lawrence Barwick 2021-02-22 06:03:38 Re: How to determine server's own IP address? inet_server_addr not working
Previous Message Jagmohan Kaintura 2021-02-22 02:14:08 PostgreSQL Statement Dependency Resolving | Schema Upgrade