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

From: "Dickson S(dot) Guedes" <listas(at)guedesoft(dot)net>
To: Gavin Flower <GavinFlower(at)archidevsys(dot)co(dot)nz>
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:06:22
Message-ID: CAHHcrerox4kAkqHKBx6ZrhyU1L_EQyb9VPwx6ayM41DqrxykdQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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!
--
Dickson S. Guedes
mail/xmpp: guedes(at)guedesoft(dot)net - skype: guediz
http://github.com/guedes - http://guedesoft.net
http://www.postgresql.org.br

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Gavin Flower 2015-08-15 01:09:40 Re: [RFC] allow 'semester' in functions EXTRACT, DATE_PART, TO_CHAR and so on.
Previous Message David G. Johnston 2015-08-15 00:40:34 Re: [RFC] allow 'semester' in functions EXTRACT, DATE_PART, TO_CHAR and so on.