Received: from news.tht.net (news.hub.org [216.126.91.242]) by mail.postgresql.org (8.11.1/8.11.1) with ESMTP id f1M7VVx02694 for ; Thu, 22 Feb 2001 02:31:31 -0500 (EST) (envelope-from news@news.tht.net) Received: (from news@localhost) by news.tht.net (8.11.1/8.11.1) id f1M741w15986 for pgsql-admin@postgresql.org; Thu, 22 Feb 2001 02:04:01 -0500 (EST) (envelope-from news) From: Terence Chan X-Newsgroups: comp.databases.postgresql.admin Subject: Re: date in european style Date: Thu, 22 Feb 2001 15:03:36 +0800 Organization: Hub.Org Networking Services (http://www.hub.org) Lines: 20 Message-ID: <3A94B9C8.4040201@cetec.com.hk> References: <3A7E9F8D.99C7AF42@yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Complaints-To: scrappy@hub.org User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; m18) Gecko/20010131 Netscape6/6.01 X-Accept-Language: en, zh, zh-cn, zh-tw To: pgsql-admin@postgresql.org X-Archive-Number: 200102/161 X-Sequence-Number: 763 Try:- su -l postgres -c "/usr/bin/pg_ctl -o "-o-e" -D $PGDATA -p /usr/bin/postmaster start >/dev/null 2>&1" < /dev/null Salvador Mainé wrote: > Hello: > > I'm using postgresql v7.0.2, from RedHat 7.0 installation. How can I > configure it to use dates in european format? I used to put -o-e in the > execution of postmaster in /etc/rc.d/rc.init/postgresql, but now they > use a different program to start (pg_ctl): > > su -l postgres -c "/usr/bin/pg_ctl -D $PGDATA -p /usr/bin/postmaster > start >/dev/null 2>&1" < /dev/null > > Thanks in advance