Australian timezone configure option - Mailing list pgsql-patches

From Chris Dunlop
Subject Australian timezone configure option
Date
Msg-id 20010601005441.A4150@minotaur.onthe.net.au
Whole thread Raw
Responses Re: Australian timezone configure option
Re: Australian timezone configure option
List 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 by date:

Previous
From: Don Baccus
Date:
Subject: Re: [HACKERS] Support for %TYPE in CREATE FUNCTION
Next
From: Jan Wieck
Date:
Subject: Access statistics