From owner-svn-ports-head@freebsd.org Wed Nov 22 19:13:32 2017 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 19313DF31F8; Wed, 22 Nov 2017 19:13:32 +0000 (UTC) (envelope-from cmt@burggraben.net) Received: from smtp.burggraben.net (smtp.burggraben.net [IPv6:2a01:4f8:140:50a2::3:1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "ns.exwg.net", Issuer "Christoph Moench-Tegeder" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id D23F765986; Wed, 22 Nov 2017 19:13:31 +0000 (UTC) (envelope-from cmt@burggraben.net) Received: from localhost (localhost [127.0.0.1]) by smtp.burggraben.net (Postfix) with ESMTP id C50506002F1; Wed, 22 Nov 2017 20:13:28 +0100 (CET) X-Spam-Scanned: by amavisd-new at exwg.net Received: from smtp.burggraben.net ([127.0.0.1]) by localhost (ns.burggraben.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id bZr0uUHIKgWG; Wed, 22 Nov 2017 20:13:28 +0100 (CET) Received: from squirrel.exwg.net (unknown [62.214.129.58]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "squirrel.exwg.net", Issuer "Christoph Moench-Tegeder" (not verified)) by smtp.burggraben.net (Postfix) with ESMTPS; Wed, 22 Nov 2017 20:13:28 +0100 (CET) Received: by squirrel.exwg.net (Postfix, from userid 1000) id 000332CA2CF; Wed, 22 Nov 2017 20:13:27 +0100 (CET) Date: Wed, 22 Nov 2017 20:13:27 +0100 From: Christoph Moench-Tegeder To: Yuri Victorovich Cc: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: Re: svn commit: r454699 - in head/databases: . pspg Message-ID: <20171122191327.3gpal53oaemf44su@squirrel.exwg.net> References: <201711221851.vAMIpbjF026196@repo.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <201711221851.vAMIpbjF026196@repo.freebsd.org> User-Agent: NeoMutt/20170113 (1.7.2) X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Nov 2017 19:13:32 -0000 ## Yuri Victorovich (yuri@FreeBSD.org): > ============================================================================== > --- /dev/null 00:00:00 1970 (empty, because file is newly added) > +++ head/databases/pspg/pkg-message Wed Nov 22 18:51:37 2017 (r454699) > @@ -0,0 +1,7 @@ > +To use pspg as psql pager, add this alias: > + > +$ alias psql="env PAGER='pspg -bX' psql" Methinks it would be even better to use psql's \setenv for this - possibly in the user's ~/.psqlrc (that's what this file was invented for). With the suggestion above you'd get rather mixed results if you'd try to pass other environment variables with env from the interactive shell (e.g. "env PGPORT=5433 psql") - that env wouldn't expand the alias. Regards, Christoph (currently travelling on PostgreSQL business) -- Spare Space.