Australian timezone configure option

From: Chris Dunlop <chris(at)onthe(dot)net(dot)au>
To: pgsql-patches(at)postgresql(dot)org
Subject: Australian timezone configure option
Date: 2001-05-31 14:54:41
Message-ID: 20010601005441.A4150@minotaur.onthe.net.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers 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])

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Kovacs Zoltan 2001-05-31 14:55:06 Re: ERROR: cache lookup for proc 43030134 failed
Previous Message Kovacs Zoltan 2001-05-31 14:39:58 Re: ERROR: cache lookup for proc 43030134 failed

Browse pgsql-patches by date

  From Date Subject
Next Message Barry Lind 2001-05-31 23:21:01 [Fwd: Patch for MULTIBYTE and SQL_ASCII (was Re: [JDBC] Re: A bug with pgsql 7.1/jdbc and non-ascii (8-bit) chars?)]]
Previous Message Jan Wieck 2001-05-31 14:15:18 Re: Support for %TYPE in CREATE FUNCTION