Re: [RFC] allow 'semester' in functions EXTRACT, DATE_PART, TO_CHAR and so on.

From: Gavin Flower <GavinFlower(at)archidevsys(dot)co(dot)nz>
To: "Dickson S(dot) Guedes" <listas(at)guedesoft(dot)net>
Cc: pg-dev <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [RFC] allow 'semester' in functions EXTRACT, DATE_PART, TO_CHAR and so on.
Date: 2015-08-15 01:09:40
Message-ID: 55CE9154.8040008@archidevsys.co.nz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 15/08/15 13:06, Dickson S. Guedes wrote:
> 2015-08-14 21:32 GMT-03:00 Gavin Flower <GavinFlower(at)archidevsys(dot)co(dot)nz>:
> ...
>> So semesters don't appear to align with normal half year boundaries.
> Interesting links, thanks!
>
> Which sounds better for a native English: 'half', 'halfyear'?
>
> For example:
>
>> SELECT date_trunc('halfyear', current_date);
> date_trunc
> ------------------------
> 2015-07-01 00:00:00-03
> (1 row)
>
> Thanks!
I would go with 'halfyear', but I don't have a use case for it, so don't
put too much weight on my opinion of this!

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Dickson S. Guedes 2015-08-15 01:11:52 Re: [RFC] allow 'semester' in functions EXTRACT, DATE_PART, TO_CHAR and so on.
Previous Message Dickson S. Guedes 2015-08-15 01:06:22 Re: [RFC] allow 'semester' in functions EXTRACT, DATE_PART, TO_CHAR and so on.