Re: Daylight Saving Time question PostgreSQL 8.1.4

From: Naz Gassiep <naz(at)mira(dot)net>
To:
Cc: josh(at)agliodbs(dot)com, Zdenek Kotala <Zdenek(dot)Kotala(at)sun(dot)com>, pgsql-hackers(at)postgresql(dot)org, mledford(at)ugaalum(dot)uga(dot)edu
Subject: Re: Daylight Saving Time question PostgreSQL 8.1.4
Date: 2007-03-14 13:10:31
Message-ID: 45F7F447.2030807@mira.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Granted, but a configure switch would allow users who want to use OS TZ
file in conjunction with a compiled from source installation. Many
users of OSes with package managers such as Debian or RedHat may, for
whatever reason, want to use a source tarball to install and also use
the OS TZ list.
<br>
<br>
That being said, this user group may be small enough to ignore. Just
throwing it in for thought.
<br>
<br>
Tom Lane wrote:
<blockquote cite="mid7680(dot)1173809641(at)sss(dot)pgh(dot)pa(dot)us" type="cite">
<pre wrap="">Josh Berkus <a class="moz-txt-link-rfc2396E" href="mailto:josh(at)agliodbs(dot)com">&lt;josh(at)agliodbs(dot)com&gt;</a> writes:
</pre>
<blockquote type="cite">
<pre wrap="">Zdenec,
</pre>
<blockquote type="cite">
<pre wrap="">I have following idea:
1) add guc varibale which enable usage of OS time zone files
2) add extra parameters into ./configure script which enable OS TZ
support in the code and get path to OS TZ files.
</pre>
</blockquote>
</blockquote>
<pre wrap=""><!---->
</pre>
<blockquote type="cite">
<pre wrap="">If we're adding it as a configure-time variable, there's no reason to have
a GUC.
</pre>
</blockquote>
<pre wrap=""><!---->
I see zero reason to have either. It would only make sense to do this
in the context of a platform-specific distribution such as an RPM, and
in that context the simplest solution is to let the RPM specfile make
the substitution (ie, after "make install" and before packaging,
rm -rf PG's timezone tree and insert a symlink). Then it's on the RPM
packager's head whether it's the right thing to do or not. A configure
switch strikes me as mostly a foot-gun, because the average user of
Postgres won't have any way to know whether the files are compatible.

regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 9: In versions below 8.0, the planner will ignore your desire to
choose an index scan if your joining column's datatypes do not
match

</pre>
</blockquote>
</body>
</html>

Attachment Content-Type Size
unknown_filename text/html 2.2 KB

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Martijn van Oosterhout 2007-03-14 14:04:44 Re: Daylight Saving Time question PostgreSQL 8.1.4
Previous Message Zdenek Kotala 2007-03-14 12:13:58 Re: Daylight Saving Time question PostgreSQL 8.1.4