Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fGPWO-0007SM-G2 for pgsql-general@arkaria.postgresql.org; Wed, 09 May 2018 13:52:44 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fGPWN-0005sP-0C for pgsql-general@arkaria.postgresql.org; Wed, 09 May 2018 13:52:43 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fGPWM-0005sB-Ox for pgsql-general@lists.postgresql.org; Wed, 09 May 2018 13:52:42 +0000 Received: from tamriel.snowman.net ([96.255.250.162]) by magus.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fGPWJ-0003o4-FR for pgsql-general@lists.postgresql.org; Wed, 09 May 2018 13:52:42 +0000 Received: by tamriel.snowman.net (Postfix, from userid 1000) id 43F455F79E; Wed, 9 May 2018 09:52:37 -0400 (EDT) Date: Wed, 9 May 2018 09:52:37 -0400 From: Stephen Frost To: John McKown Cc: Ron , pgsql-general@lists.postgresql.org Subject: Re: Enhancement to psql command, feedback. Message-ID: <20180509135237.GB27724@tamriel.snowman.net> References: <090b3dc0-b817-0368-c437-ef85d20cb67d@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="s/nziZXcLDdFTL6B" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --s/nziZXcLDdFTL6B Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Greetings, * John McKown (john.archie.mckown@gmail.com) wrote: > Again, this is just a discussion point. And I'm quite willing to admit > defeat if most people don't think that it is worth the effort. For my 2c, at least, I do think it'd be kind of neat to have, but we'd need a fool-proof way to realize that's how we're being called and, ideally, that would be something we could detect without having to have special flags for psql which anyone writing such a script would have to be aware of. Do you know if there's a way to detect that we're being called this way..? Thanks! Stephen --s/nziZXcLDdFTL6B Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCgAGBQJa8v0kAAoJEO1sijiDR2RVR8sQAKpLDco8PIkFUUoh2xrtxn5c J+blxwdgq0dszL0wdfhbUAHXScsGhlgGy5vsRXoirB0e46llH01PLxDUEtoPGohf NTQkN0tFtBJZ2JPkCPZHSW5u3/t9R5noNEKaBA3mMqcYjV4+MraiJ1wPBLD1LvRj 0kjpHsaV0BDg/bJO+u0q8itkHGJgpTL9o1sghm6KXNkYTUUFR5oxgV+2/bUS/YWh s8Iv1c/CTTNJ4UySFPwDbDjGKFvJNe8b/y9KF+B/pZagj4Rm5oe3UDzGzqT1lSuf 52m6f7aGf72/TXbTtGXOq9Vu3b4CrAW7WNbKdWYvrZF2if0/xSlgcp428tX9PoOl fTFj2DbZZ9ZqCahmhPr2VjGTQMWKkRQWExtKDskroo21dihbpkwUAMB+rT4UBA3R 3dQcwHcd1Kibv4xrPgxxdjo0wdHfFkeryOEUCHNrKcLmgeM6B1x8mc+3fDOoPF7C BqZX3NIUNQkyQquDAxUCy+fNbX5O1+04sdC4fsGMbRB9+QCjB+KoS5HSViJHkI2z 84DEVxNDnbhyDyBUNRlcZEz2qODRlPb+mLkSgQkZQzYsXEphGYxVEicHbibEIAPn 5pgXHZy58C/S5kjjA2rYcyijqypq7XyfdDYuSy7Nnii/ewRIGxi5wwjDer3iZJc0 T4ikeQ777unfSevTybJc =HXxz -----END PGP SIGNATURE----- --s/nziZXcLDdFTL6B--