db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Seth Milder <mrs...@physics.gmu.edu>
Subject [Defaults for Timestamp]
Date Sun, 02 Mar 2003 19:25:11 GMT
Hi,

Is there a way to specify in the schema to default a column to a
function call? I'm using Postgresql and there are certain timestamp
columns that I'd like to default to NOW(). Is there a way to accomplish
this?

Thanks!

-- 
Seth Milder
Department of Physics and Astronomy
MS 3f3
George Mason University
Fairfax, VA
http://www.mrseth.org
--
"Consider a spherical bear, in simple harmonic motion..." -- Professor
in the UCB physics department



Mime
View raw message