Re: date_trunc - not sure what is wrong, but it confuses me. - Mailing list pgsql-general

From Tom Lane
Subject Re: date_trunc - not sure what is wrong, but it confuses me.
Date
Msg-id 8946.1313769499@sss.pgh.pa.us
Whole thread Raw
In response to date_trunc - not sure what is wrong, but it confuses me.  (dexdyne <davidc@dexdyne.com>)
Responses Re: date_trunc - not sure what is wrong, but it confuses me.
List pgsql-general
dexdyne <davidc@dexdyne.com> writes:
> So it looks as if date_trunc is taking either type and returning a value of
> the same type.

Yes, as \df would have told you.

> A perfectly reasonable thing to do - but does that correspond with the
> documentation?

Could be a bit more specific, perhaps.

            regards, tom lane

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: Need linux uid in pg-psql
Next
From: "Gauthier, Dave"
Date:
Subject: Re: Need linux uid in pg-psql