From: | Zagato <zagato(dot)gekko(at)gmail(dot)com> |
---|---|
To: | pgsql-general(at)postgresql(dot)org |
Subject: | Interval Format |
Date: | 2008-11-22 01:39:52 |
Message-ID: | 98028b00811211739qb4a5e6bqf478bee397ea3596@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-admin pgsql-general |
Hi everyone... im looking for some help with the interval format between two
diferents versions of postgres....
I have instaled in my old server postgres 8.0.3 and in my new one postgres
8.3.5...
Everything in both looks works nice but i notice a little difference that is
taking my crazy..
I have som SQL that in 8.0.3 do:
# SELECT '32 hours'::INTERVAL;
interval
-----------------
@ 1 day 8 hours
(1 row)
And in 8.3.5 do:
seg_veh2=# SELECT '@ 32 hours'::INTERVAL;
interval
------------
@ 32 hours
(1 row)
Why i unable to get my old style of interval, i really need to see the day
part.... im using datestyle german in both.... im try with "SET
IntervalStyle TO..." but i get this error:
ERROR: unrecognized configuration parameter "intervalstyle"
looking throw the forums i get that this new param its just for postgres
8.4...
So.. how can i recover my "days" part...
Any help it appreciate... thanks :D
Alan Jairo Acosta
--
Farewell.
http://www.youtube.com/zagatogekko
ruby << __EOF__
puts [ 111, 116, 97, 103, 97, 90 ].collect{|v| v.chr}.join.reverse
__EOF__
From | Date | Subject | |
---|---|---|---|
Next Message | Zagato | 2008-11-22 01:40:27 | Interval Format |
Previous Message | Jaume Sabater | 2008-11-21 11:53:41 | Variable table name in a trigger function or in a rule |
From | Date | Subject | |
---|---|---|---|
Next Message | Zagato | 2008-11-22 01:40:27 | Interval Format |
Previous Message | Scott Marlowe | 2008-11-21 23:45:42 | Re: referring to a different database from a trigger |