Re: date in european style

Поиск
Список
Период
Сортировка
От Oliver Elphick
Тема Re: date in european style
Дата
Msg-id 200102051402.f15E2aw16492@linda.lfix.co.uk
обсуждение исходный текст
Ответ на date in european style  (Salvador Mainé <salvamaine@yahoo.com>)
Список 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



В списке pgsql-admin по дате отправления:

Предыдущее
От: "Thomas Heller"
Дата:
Сообщение: find bad record
Следующее
От: Tom Lane
Дата:
Сообщение: Re: find bad record