<quote who="[EMAIL PROTECTED]">

> Also FWIW, putting things like CURRENT_TIME in tables is fairly brittle --
> think of what happens at daylight saving time or when the time on your pc
> goes haywire. Bad things happen to your data.

Times are usually stored in UTC, so daylight savings and timezone won't come
into it. Having your clock working correctly is pretty fundamental to a lot
of things, so that *shoudn't* come into it. ;-)

> What you're usually after is a "guaranteed to be greater" value.  With
> postgresql/oracle you'd use nextval().

Only if it's a key of sorts (for which time/date fields are terrible
choices). If someone wants the actual time, they really do want the actual
time!

(I'd add myself to the "strongly recommend PostgreSQL" list, too.)

- Jeff

-- 
                            "How was the opera?"                            
                     "The seats were very comfortable."                     
-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to