Re: date_trunc - not sure what is wrong, but it confuses me.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: dexdyne <davidc(at)dexdyne(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: date_trunc - not sure what is wrong, but it confuses me.
Date: 2011-08-19 15:58:19
Message-ID: 8946.1313769499@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

dexdyne <davidc(at)dexdyne(dot)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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Gauthier, Dave 2011-08-19 16:07:41 Re: Need linux uid in pg-psql
Previous Message Tom Lane 2011-08-19 15:54:57 Re: Need linux uid in pg-psql