Re: [HACKERS] AT TIME ZONE

2005-02-08 Thread Michael Glaesemann
On Feb 8, 2005, at 20:43, Christopher Kings-Lynne wrote: Yeah, this is on my personal "hope to do for 8.1" list. At least the country/city part, haven't really thought about the other one. One of the two forms already works...can't quite remember which... I think this is perhaps what you were tryin

Re: [HACKERS] AT TIME ZONE

2005-02-08 Thread Christopher Kings-Lynne
Yeah, this is on my personal "hope to do for 8.1" list. At least the country/city part, haven't really thought about the other one. One of the two forms already works...can't quite remember which... ---(end of broadcast)--- TIP 3: if posting/reading t

Re: [HACKERS] AT TIME ZONE

2005-02-08 Thread Magnus Hagander
> Hi, > > Just a quick check that the extension to AT TIME ZONE to > allow specifying intervals as well as country/city is on the > list for 8.1. > > I believe it was a fairly simple thing to do now that we have > our own time zone library... Yeah, this is on my personal "hope to do for 8.1"

[HACKERS] AT TIME ZONE

2005-02-08 Thread Christopher Kings-Lynne
Hi, Just a quick check that the extension to AT TIME ZONE to allow specifying intervals as well as country/city is on the list for 8.1. I believe it was a fairly simple thing to do now that we have our own time zone library... Chris ---(end of broadcast)

Re: [HACKERS] AT TIME ZONE

2004-08-25 Thread Bruce Momjian
Added to TODO. --- Tom Lane wrote: > Bruce Momjian <[EMAIL PROTECTED]> writes: > > TODO entry? > > * Merge hardwired timezone names with the TZ database; allow either kind > everywhere a TZ name is currently taken > * all

Re: [HACKERS] AT TIME ZONE

2004-08-24 Thread Tom Lane
Alvaro Herrera <[EMAIL PROTECTED]> writes: > I wonder instead if it will be possible to store a timestamp without > timezone in one field, and a timezone in another field. So I can get > back a timestamp at the second-field timezone. "f1 AT TIME ZONE f2" would be exactly the way to do that. > I

Re: [HACKERS] AT TIME ZONE

2004-08-24 Thread Alvaro Herrera
On Tue, Aug 24, 2004 at 03:16:30PM -0400, Shahbaz Javeed wrote: People, > I wonder whether this TODO item also covers cases such as inserting > into a table where one field is time in the local timezone and the > other is time in GMT. Not sure if such a thing is desirable or even > possible (in

Re: [HACKERS] AT TIME ZONE

2004-08-24 Thread Shahbaz Javeed
Folks, I wonder whether this TODO item also covers cases such as inserting into a table where one field is time in the local timezone and the other is time in GMT. Not sure if such a thing is desirable or even possible (in the SQL standard). The syntax I'm imagining feels pretty awkward. I gues

Re: [HACKERS] AT TIME ZONE

2004-08-24 Thread Tom Lane
Bruce Momjian <[EMAIL PROTECTED]> writes: > TODO entry? * Merge hardwired timezone names with the TZ database; allow either kind everywhere a TZ name is currently taken * allow customization of the known set of TZ names (generalize the present australian_timezones hack) I'm not sure whether w

Re: [HACKERS] AT TIME ZONE

2004-08-24 Thread Bruce Momjian
TODO entry? --- Tom Lane wrote: > Christopher Kings-Lynne <[EMAIL PROTECTED]> writes: > > With the new timezone stuff, is there any reason this shouldn't be made > > to work now in CVS: > > test=# select current_timestamp a

Re: [HACKERS] AT TIME ZONE

2004-08-23 Thread Tom Lane
Christopher Kings-Lynne <[EMAIL PROTECTED]> writes: > With the new timezone stuff, is there any reason this shouldn't be made > to work now in CVS: > test=# select current_timestamp at time zone 'Australia/Perth'; > ERROR: time zone "australia/perth" not recognized Lack of round tuits. We have

[HACKERS] AT TIME ZONE

2004-08-23 Thread Christopher Kings-Lynne
With the new timezone stuff, is there any reason this shouldn't be made to work now in CVS: test=# select current_timestamp at time zone 'Australia/Perth'; ERROR: time zone "australia/perth" not recognized Chris ---(end of broadcast)--- TIP 2: you

Re: [HACKERS] AT TIME ZONE bug in CVS?

2002-08-21 Thread Thomas Lockhart
> template1=# select current_timestamp(0) at time zone 'Australia/Sydney'; > ERROR: Time zone 'australia/sydney' not recognized The input is done using an internal lookup, not your system's time zone database. Much faster; setting time zone variables for every input will be substantially slower

[HACKERS] AT TIME ZONE bug in CVS?

2002-08-21 Thread Christopher Kings-Lynne
What's with this? template1=# select current_timestamp(0); timestamptz 2002-08-21 16:39:40+08 (1 row) template1=# set time zone 'Australia/Sydney'; SET template1=# select current_timestamp(0); timestamptz 2002-08-21 18:39:49+10 (1 r