pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
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 14:47:09 +0200
Message-ID: <162867790706140547s591ed956lb93972b686e74505@mail.gmail.com> (raw)
In-Reply-To: <20070614122628.GB11436@svana.org>
References: <006101c7ae4c$ed7edbd0$170211ac@LIONKING.COM>
	<162867790706140000w478d4bds4a0a2f42a8666a26@mail.gmail.com>
	<20070614111403.GA11436@svana.org>
	<162867790706140454q5e08cff6n22ed5d58748949ed@mail.gmail.com>
	<20070614122628.GB11436@svana.org>

> Hrm, yet Bruce mentions it in one of his documents.
>
> http://momjian.us/main/writings/pgsql/data_processing.pdf
>
> It may be undocumented, but it get a lot of hits on google :)
>

why google? look to pgsql/src/backend/utils/adt/date.c  :-)

Regards
Pavel Stehule



view thread (8+ messages)

Message-ID: <162867790706140547s591ed956lb93972b686e74505@mail.gmail.com>
Permalink:  ../162867790706140547s591ed956lb93972b686e74505@mail.gmail.com/
Also on:    postgresql.org/message-id/162867790706140547s591ed956lb93972b686e74505@mail.gmail.com

 · 

reply

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: <162867790706140547s591ed956lb93972b686e74505@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