pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
date in european style
4+ messages / 4 participants
[nested] [flat]

* date in european style
@ 2001-02-05 12:41 Salvador Mainé <salvamaine@yahoo.com>
  2001-02-05 14:02 ` Re: date in european style Oliver Elphick <olly@lfix.co.uk>
  2001-02-05 19:46 ` Re: date in european style Michel M. dos Santos <michel@conectiva.com.br>
  2001-02-22 07:03 ` Re: date in european style Terence Chan <pg@cetec.com.hk>
  0 siblings, 3 replies; 4+ messages in thread

From: Salvador Mainé @ 2001-02-05 12:41 UTC (permalink / raw)
  To: pgsql-admin

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

-- 
Salvador Mainé



^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: date in european style
  2001-02-05 12:41 date in european style Salvador Mainé <salvamaine@yahoo.com>
@ 2001-02-05 14:02 ` Oliver Elphick <olly@lfix.co.uk>
  2 siblings, 0 replies; 4+ messages in thread

From: Oliver Elphick @ 2001-02-05 14:02 UTC (permalink / raw)
  To: Salvador Mainé <salvamaine@yahoo.com>; +Cc: pgsql-admin

Salvador =?iso-8859-1?Q?Main=E9?= 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


pg_ctl has a -o option to send options to the postmaster, so you should
be able to do 

  pg_ctl -o "-o -e"


-- 
Oliver Elphick                                Oliver.Elphick@lfix.co.uk
Isle of Wight                              http://www.lfix.co.uk/oliver
PGP: 1024R/32B8FAA1: 97 EA 1D 47 72 3F 28 47  6B 7E 39 CC 56 E4 C1 47
GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839  932A 614D 4C34 3E1D 0C1C
                 ========================================
     "Lift up your heads, O ye gates; and be ye lift up, ye 
      everlasting doors; and the King of glory shall come 
      in. Who is this King of glory? The LORD strong and 
      mighty, the LORD mighty in battle."           
                                   Psalms 24:7,8 





^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: date in european style
  2001-02-05 12:41 date in european style Salvador Mainé <salvamaine@yahoo.com>
@ 2001-02-05 19:46 ` Michel M. dos Santos <michel@conectiva.com.br>
  2 siblings, 0 replies; 4+ messages in thread

From: Michel M. dos Santos @ 2001-02-05 19:46 UTC (permalink / raw)
  To: Salvador Mainé <salvamaine@yahoo.com>; +Cc: pgsql-admin



	I'm using Conectiva Linux 6.0, Postgresql 7.0.2.

	In my scrypt, I start with default mode. But I think it is util
for you:

	  daemon --check postmaster --user postgres "export
PGDATESTYLE='Postgres'; /usr/bin/postmaster -o -e -i -S -D/var/lib/pgsql"



On Mon, 5 Feb 2001, 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
-->
-->--
-->Salvador Mainé
-->

	[]'s

	Michel M. dos Santos




^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: date in european style
  2001-02-05 12:41 date in european style Salvador Mainé <salvamaine@yahoo.com>
@ 2001-02-22 07:03 ` Terence Chan <pg@cetec.com.hk>
  2 siblings, 0 replies; 4+ messages in thread

From: Terence Chan @ 2001-02-22 07:03 UTC (permalink / raw)
  To: pgsql-admin

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




^ permalink  raw  reply  [nested|flat] 4+ messages in thread


end of thread, other threads:[~2001-02-22 07:03 UTC | newest]

Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2001-02-05 12:41 date in european style Salvador Mainé <salvamaine@yahoo.com>
2001-02-05 14:02 ` Oliver Elphick <olly@lfix.co.uk>
2001-02-05 19:46 ` Michel M. dos Santos <michel@conectiva.com.br>
2001-02-22 07:03 ` Terence Chan <pg@cetec.com.hk>

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