X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id 4022B9DC85C for ; Wed, 1 Mar 2006 15:26:17 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 71989-05 for ; Wed, 1 Mar 2006 15:26:17 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from r1.mycybernet.net (r1.mycybernet.net [209.5.206.8]) by postgresql.org (Postfix) with ESMTP id 3428E9DC9AE for ; Wed, 1 Mar 2006 15:26:15 -0400 (AST) Received: from 227-54-222-209.mycybernet.net ([209.222.54.227]:40288 helo=phlogiston.dydns.org) by r1.mycybernet.net with esmtp (Exim 4.50 (FreeBSD)) id 1FEWxk-000Gmc-2Z for pgsql-sql@postgresql.org; Wed, 01 Mar 2006 14:26:16 -0500 Received: by phlogiston.dydns.org (Postfix, from userid 1000) id 5FD8F4051; Wed, 1 Mar 2006 14:26:07 -0500 (EST) Date: Wed, 1 Mar 2006 14:26:07 -0500 From: Andrew Sullivan To: pgsql-sql@postgresql.org Subject: Re: Change date format through an environmental variable? Message-ID: <20060301192607.GM17356@phlogiston.dyndns.org> References: <4405DAAA.4010908@noaa.gov> <4405F419.5080306@noaa.gov> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4405F419.5080306@noaa.gov> User-Agent: Mutt/1.5.9i X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.08 required=5 tests=[AWL=0.080] X-Spam-Score: 0.08 X-Spam-Level: X-Archive-Number: 200603/20 X-Sequence-Number: 24366 On Wed, Mar 01, 2006 at 02:20:57PM -0500, Mark Fenbers wrote: > I found PGDATESTYLE that solves my problem, but ever since, I've been > looking for a comprehensive list of environmental variables that Pg > recognizes, but haven't been able to find such a list in any of the > books I looked in or the man pages. Anyone know where I can find such a > list? That's a client variable, and it works for libpq-based clients that don't do something funny with them (none of them ought to, but one can't guarantee others' programs). So you're not modifying for other clients, AFAIK, just for you. (If that's what you want, well, good, but it's important to know what it does.) The list for 8.1 is in the docs: http://www.postgresql.org/docs/8.1/interactive/libpq-envars.html A -- Andrew Sullivan | ajs@crankycanuck.ca A certain description of men are for getting out of debt, yet are against all taxes for raising money to pay it off. --Alexander Hamilton