Australian timezone configure option

Поиск
Список
Период
Сортировка
От Chris Dunlop
Тема Australian timezone configure option
Дата
Msg-id 20010601005441.A4150@minotaur.onthe.net.au
обсуждение исходный текст
Ответы Re: Australian timezone configure option  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: Australian timezone configure option  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-patches
Hi,

Being in Australia, it's always been a minor pain building the support
for Australian timezone rules by defining USE_AUSTRALIAN_RULES to the
compiler.  Not to mention the not inconsiderable pain involved in pawing
through the code and documentation trying to work out why the timezones
were wrong in the first place.

This patch makes it a configure option - much easier to use, and much
more obvious for the other Aussies who keep wondering why their
timezones are all messed up...

Obviously 'autoconf' needs to be run after applying the patch.

Cheers,

Chris,
OnTheNet


--- postgresql-7.1.2/configure.in.orig    Fri May 11 11:34:39 2001
+++ postgresql-7.1.2/configure.in    Thu May 31 23:54:27 2001
@@ -150,6 +150,16 @@


 #
+# Australian timezone (--enable-australian-tz)
+#
+AC_MSG_CHECKING([whether to build with Australian timezone rules])
+PGAC_ARG_BOOL(enable, australian-tz, no, [  --enable-australian-tz  enable Australian timezone rules ],
+              [AC_DEFINE([USE_AUSTRALIAN_RULES], 1,
+                         [Set to 1 if you want Australian timezone rules (--enable-australian-tz)])])
+AC_MSG_RESULT([$enable_australian_tz])
+
+
+#
 # Locale (--enable-locale)
 #
 AC_MSG_CHECKING([whether to build with locale support])

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

Предыдущее
От: Don Baccus
Дата:
Сообщение: Re: [HACKERS] Support for %TYPE in CREATE FUNCTION
Следующее
От: Jan Wieck
Дата:
Сообщение: Access statistics