Re: Daylight savings - Mailing list pgsql-general

From newsreader@mediaone.net
Subject Re: Daylight savings
Date
Msg-id 20010504192202.A1124@dragon.universe
Whole thread Raw
In response to Daylight savings  (Justin Clift <aa2@bigpond.net.au>)
List pgsql-general
On Thu, May 03, 2001 at 05:03:11PM +1000, Justin Clift wrote:
> Hi all,
>
> I'm wondering if anyone has scripts or knows of any tools which will detect
> the next DST change, and setup a cronjob to be run just before it?

I don't know what you mean by "detect"
but perl's localtime can tell you whether
it's DST or not

$ perldoc -f localtime

What you can do is something like

$ perl -e '@a=localtime(time + 86400);print "It will be daylight saving time in 24 hours! Do something" if $a[8]'

pgsql-general by date:

Previous
From: "Steve Wolfe"
Date:
Subject: Re: IpcMemoryCreate: shmget failed (Invalid argument)
Next
From: Peter Eisentraut
Date:
Subject: Re: IpcMemoryCreate: shmget failed (Invalid argument)