changing 'mons' in interval?

From: Klint Gore <kg(at)kgb(dot)une(dot)edu(dot)au>
To: pgsql-general(at)postgresql(dot)org
Subject: changing 'mons' in interval?
Date: 2007-06-04 08:51:37
Message-ID: 4663D299329.495BKG@129.180.47.120
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Is there a way to change mons in interval::text to the full word months
without resorting to "replace(aninterval::text,'mon','Month')"? If it
can handle locales as well that would be good (but I could live without
it).

klint.

+---------------------------------------+-----------------+
: Klint Gore : "Non rhyming :
: EMail : kg(at)kgb(dot)une(dot)edu(dot)au : slang - the :
: Snail : A.B.R.I. : possibilities :
: Mail University of New England : are useless" :
: Armidale NSW 2351 Australia : L.J.J. :
: Fax : +61 2 6772 5376 : :
+---------------------------------------+-----------------+

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Enrico Sirola 2007-06-04 08:53:36 Re: [HACKERS] table partitioning pl/pgsql helpers
Previous Message John Gardner 2007-06-04 08:49:03 Tablespaces