Re: Why *exactly* is date_trunc() not immutable ?

Поиск
Список
Период
Сортировка
Искать
От
Karsten Hilbert
Тема
Re: Why *exactly* is date_trunc() not immutable ?
Дата
Msg-id
20070219194806.GT4072@merkur.hilbert.loc
Ответ на
Список
Дерево обсуждения
Why *exactly* is date_trunc() not immutable ? Karsten Hilbert <Karsten.Hilbert@gmx.net>
Re: Why *exactly* is date_trunc() not immutable ? Michael Glaesemann <grzm@seespotcode.net>
Re: Why *exactly* is date_trunc() not immutable ? Karsten Hilbert <Karsten.Hilbert@gmx.net>
Re: Why *exactly* is date_trunc() not immutable ? Michael Glaesemann <grzm@seespotcode.net>
Re: Why *exactly* is date_trunc() not immutable ? Alban Hertroys <alban@magproductions.nl>
Re: Why *exactly* is date_trunc() not immutable ? Michael Glaesemann <grzm@seespotcode.net>
Re: Why *exactly* is date_trunc() not immutable ? Alban Hertroys <alban@magproductions.nl>
Re: Why *exactly* is date_trunc() not immutable ? Karsten Hilbert <Karsten.Hilbert@gmx.net>
Re: Why *exactly* is date_trunc() not immutable ? Martijn van Oosterhout <kleptog@svana.org>
Re: Why *exactly* is date_trunc() not immutable ? Karsten Hilbert <Karsten.Hilbert@gmx.net>
Re: Why *exactly* is date_trunc() not immutable ? Martijn van Oosterhout <kleptog@svana.org>
Re: Why *exactly* is date_trunc() not immutable ? Karsten Hilbert <Karsten.Hilbert@gmx.net>
Re: Why *exactly* is date_trunc() not immutable ? Tom Lane <tgl@sss.pgh.pa.us>
Re: Why *exactly* is date_trunc() not immutable ? Karsten Hilbert <Karsten.Hilbert@gmx.net>
Re: Why *exactly* is date_trunc() not immutable ? Tom Lane <tgl@sss.pgh.pa.us>
Re: Why *exactly* is date_trunc() not immutable ? "jungmin shin" <jungmin.shin@gmail.com>
Re: Why *exactly* is date_trunc() not immutable ? Alvaro Herrera <alvherre@commandprompt.com>
Re: Why *exactly* is date_trunc() not immutable ? Bruno Wolff III <bruno@wolff.to>
Re: Why *exactly* is date_trunc() not immutable ? Karsten Hilbert <Karsten.Hilbert@gmx.net>
Re: Why *exactly* is date_trunc() not immutable ? Bruno Wolff III <bruno@wolff.to>
Re: Why *exactly* is date_trunc() not immutable ? Karsten Hilbert <Karsten.Hilbert@gmx.net>
On Mon, Feb 19, 2007 at 12:41:11PM -0600, Bruno Wolff III wrote:

>   Karsten Hilbert  wrote:
> > 
> > The date-of-birth field in our table holding patients is of
> > type "timestamp with time zone". One of our patient search
> > queries uses the date-of-birth field to find matches. Since
> > users enter day, month, and year but not hour, minute, and
> > second of the DOB we run the query with
> 
> That seems like an odd choice. Is there some reason they didn't use a type
> of date? Maybe you could get them to change it?

What time of day were you born ?

	http://en.wikipedia.org/wiki/Apgar

What is the technical reason that makes you wonder ?

Karsten
-- 
GPG key ID E4071346 @ wwwkeys.pgp.net
E167 67FD A291 2BEA 73BD  4537 78B9 A9F9 E407 1346
В списке pgsql-general по дате отправления
От: Andrew Sullivan
Дата:
От: John DeSoi
Дата:
Сообщение: Re: Per Database Roles
FAQ