pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Nick Fankhauser <nickf@ontko.com>
To: Stephan Szabo <sszabo@megazone23.bigpanda.com>
To: Martins Zarins <mark@vestnesis.lv>
Cc: pgsql-admin@postgresql.org
Subject: Re: Default settings
Date: Mon, 5 Aug 2002 09:32:50 -0500
Message-ID: <NEBBLAAHGLEEPCGOBHDGKEPHFHAA.nickf@ontko.com> (raw)
In-Reply-To: <20020805072242.X71706-100000@megazone23.bigpanda.com>

Actually, I think this is an environment variable, so you'd want to set it
up so the postgres user gets it before starting the postmaster.
(PGDATESTYLE=)

If you are running the Debian Linux package, it can be set in
postmaster.conf, but AFAIK, that file doesn't exist in other distributions
or the source.

Details here:
http://www.postgresql.org/idocs/index.php?libpq-envars.html

-Nick

--------------------------------------------------------------------------
Nick Fankhauser  nickf@ontko.com  Phone 1.765.935.4283  Fax 1.765.962.9788
Ray Ontko & Co.     Software Consulting Services     http://www.ontko.com/

> -----Original Message-----
> From: pgsql-admin-owner@postgresql.org
> [mailto:pgsql-admin-owner@postgresql.org]On Behalf Of Stephan Szabo
> Sent: Monday, August 05, 2002 9:24 AM
> To: Martins Zarins
> Cc: pgsql-admin@postgresql.org
> Subject: Re: [ADMIN] Default settings
>
>
>
> On Mon, 5 Aug 2002, Martins Zarins wrote:
>
> > Hello all!
> >
> > HOWTO save (is this posible at all?) subj?
> > everytime I run psql I must write "set datestyle to german;"
> > Where I can set this variable for all databases on my server forever?
>
> I believe datestyle has an entry in postgresql.conf.
>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Don't 'kill -9' the postmaster
>




view thread (5+ messages)  latest in thread

Message-ID: <NEBBLAAHGLEEPCGOBHDGKEPHFHAA.nickf@ontko.com>
Permalink:  ../NEBBLAAHGLEEPCGOBHDGKEPHFHAA.nickf@ontko.com/
Also on:    postgresql.org/message-id/NEBBLAAHGLEEPCGOBHDGKEPHFHAA.nickf@ontko.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-admin@postgresql.org
  Cc: nickf@ontko.com, sszabo@megazone23.bigpanda.com, mark@vestnesis.lv
  Subject: Re: Default settings
  In-Reply-To: <NEBBLAAHGLEEPCGOBHDGKEPHFHAA.nickf@ontko.com>
  References: <20020805072242.X71706-100000@megazone23.bigpanda.com> <NEBBLAAHGLEEPCGOBHDGKEPHFHAA.nickf@ontko.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