From: Pavel Stehule <pavel.stehule@gmail.com>
To: Martijn van Oosterhout <kleptog@svana.org>
To: Pavel Stehule <pavel.stehule@gmail.com>
To: Ashish Karalkar <ashish.karalkar@info-spectrum.com>
To: pgsql-general@postgresql.org
To: pgsql-sql@postgresql.org
Subject: Re: [SQL] function to find difference between in days between two dates
Date: Thu, 14 Jun 2007 13:54:09 +0200
Message-ID: <162867790706140454q5e08cff6n22ed5d58748949ed@mail.gmail.com> (raw)
In-Reply-To: <20070614111403.GA11436@svana.org>
References: <006101c7ae4c$ed7edbd0$170211ac@LIONKING.COM>
<162867790706140000w478d4bds4a0a2f42a8666a26@mail.gmail.com>
<20070614111403.GA11436@svana.org>
2007/6/14, Martijn van Oosterhout <kleptog@svana.org>:
> On Thu, Jun 14, 2007 at 09:00:12AM +0200, Pavel Stehule wrote:
> > Hello
> >
> > PostgreSQL hasn't any official function for it. If you need it, you
> > can write own function
>
> Not true. Anything that is done by an operator as actually done by a
> function. So the function exists:
>
> # \df date_mi
> List of functions
I know about it, but it's undocumented
Pavel
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: pavel.stehule@gmail.com, kleptog@svana.org, ashish.karalkar@info-spectrum.com, pgsql-general@postgresql.org
Subject: Re: [SQL] function to find difference between in days between two dates
In-Reply-To: <162867790706140454q5e08cff6n22ed5d58748949ed@mail.gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox