Re: [GENERAL] Dates rejected

2006-10-16 Thread Andreas Kretschmer
Martijn van Oosterhout schrieb: > > create table tt_teste (datfis timestamp without time zone not null > > CHECK (datfis = trunc(datfis::timestamp without time zone))); > > What are you trying to do here? If you only want a date, why not just > use a date type? This is an other question ;-) A

Re: [GENERAL] Dates rejected

2006-10-16 Thread Martijn van Oosterhout
On Mon, Oct 16, 2006 at 12:22:04PM -0200, Carlos H. Reimer wrote: > Hi, > > We´ve a simple insert that is not working. The strange thing is that all > kind of date are working with the exception of 15/10 (DD/MM) dates. > > create table tt_teste (datfis timestamp without time zone not null > CHEC

Re: [GENERAL] Dates rejected

2006-10-16 Thread Andreas Kretschmer
Carlos H. Reimer <[EMAIL PROTECTED]> schrieb: > > Hi, > > WeŽve a simple insert that is not working. The strange thing is that all kind > of date are working with the exception of 15/10 (DD/MM) dates. > > create table tt_teste (datfis timestamp without time zone not null > CHECK (datfis = tr