pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Ron <ronljohnsonjr@gmail.com>
To: Julien Rouhaud <rjuju123@gmail.com>
Cc: pgsql-generallists.postgresql.org <pgsql-general@lists.postgresql.org>
Subject: Re: Script checking to see what database it's connected to
Date: Sun, 21 Feb 2021 20:38:20 -0600
Message-ID: <f0c4cc59-2ab1-511b-e139-d81dd79201cc@gmail.com> (raw)
In-Reply-To: <CAOBaU_Yq3vi_RuUgrPYgpruVxxBLqOAfhTCG0x+0knZ-Q6_Gwg@mail.gmail.com>
References: <0437e8e0-5686-9a10-b204-0b9df86e27ef@gmail.com>
	<CAOBaU_ZeHj6FWJQiOMOKoxoe7DXLshoaCoLL0w1b3hpg++VJRQ@mail.gmail.com>
	<222764a0-5650-5457-e536-488861cdd666@gmail.com>
	<CAOBaU_Yq3vi_RuUgrPYgpruVxxBLqOAfhTCG0x+0knZ-Q6_Gwg@mail.gmail.com>

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.





view thread (11+ messages)  latest in thread

Message-ID: <f0c4cc59-2ab1-511b-e139-d81dd79201cc@gmail.com>
Permalink:  ../f0c4cc59-2ab1-511b-e139-d81dd79201cc@gmail.com/
Also on:    postgresql.org/message-id/f0c4cc59-2ab1-511b-e139-d81dd79201cc@gmail.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-general@postgresql.org
  Cc: ronljohnsonjr@gmail.com, rjuju123@gmail.com
  Subject: Re: Script checking to see what database it's connected to
  In-Reply-To: <f0c4cc59-2ab1-511b-e139-d81dd79201cc@gmail.com>
  References: <0437e8e0-5686-9a10-b204-0b9df86e27ef@gmail.com> <CAOBaU_ZeHj6FWJQiOMOKoxoe7DXLshoaCoLL0w1b3hpg++VJRQ@mail.gmail.com> <222764a0-5650-5457-e536-488861cdd666@gmail.com> <CAOBaU_Yq3vi_RuUgrPYgpruVxxBLqOAfhTCG0x+0knZ-Q6_Gwg@mail.gmail.com> <f0c4cc59-2ab1-511b-e139-d81dd79201cc@gmail.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