gnumed-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnumed-devel] Measurements - adding and abbreviations


From: Karsten Hilbert
Subject: Re: [Gnumed-devel] Measurements - adding and abbreviations
Date: Sun, 7 Aug 2011 12:27:51 +0200
User-agent: Mutt/1.5.21 (2010-09-15)

On Mon, Aug 01, 2011 at 01:54:48PM -0700, Jim Busser wrote:

> > Please suggest a saner source of the time when no time is
> > provided.
> 
> I suppose there is in postgres no field that
> 
>       requires date to be provided (but may optionally allow null)
> 
>       accepts a time portion (if inputted) but able to optionally allow a 
> null time portion
> 
> ??

Not built-in:

        http://www.postgresql.org/docs/9.1/static/datatype-datetime.html

One would need to (but could) create a composite data type.

Karsten
-- 
GPG key ID E4071346 @ gpg-keyserver.de
E167 67FD A291 2BEA 73BD  4537 78B9 A9F9 E407 1346



reply via email to

[Prev in Thread] Current Thread [Next in Thread]