You are viewing a plain text version of this content. The canonical link for it is here.
Posted to torque-user@db.apache.org by Seth Milder <mr...@physics.gmu.edu> on 2003/03/02 20:25:11 UTC

[Defaults for Timestamp]

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