pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Chris Hoover <revoohc@gmail.com>
To: Jason Minion <jason.minion@sigler.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: Help with simple function
Date: Wed, 28 Dec 2005 10:33:08 -0500
Message-ID: <1d219a6f0512280733k74c7ecf6kdff6408ba6c6bfa5@mail.gmail.com> (raw)
In-Reply-To: <0105A1BF505D304E9E5AF38B63E40E4ED7E895@EXCHANGE.siglercompanies.com>
References: <0105A1BF505D304E9E5AF38B63E40E4ED7E895@EXCHANGE.siglercompanies.com>

On 12/28/05, Jason Minion <jason.minion@sigler.com> wrote:
>
> And last but not least, you can do simple day addition and subtraction
> with dates using integers. For example:
>
> > select '2005-12-26'::date + 8;
>
> returns '2006-01-03'. However, I'm not sure if that will work with
> 7.3.x. Good luck with your 8.x install!
>
> Jason


That works like a charm.  Thanks a bunch for the help.

Chris

view thread (3+ messages)

Message-ID: <1d219a6f0512280733k74c7ecf6kdff6408ba6c6bfa5@mail.gmail.com>
Permalink:  ../1d219a6f0512280733k74c7ecf6kdff6408ba6c6bfa5@mail.gmail.com/
Also on:    postgresql.org/message-id/1d219a6f0512280733k74c7ecf6kdff6408ba6c6bfa5@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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: revoohc@gmail.com, jason.minion@sigler.com
  Subject: Re: Help with simple function
  In-Reply-To: <1d219a6f0512280733k74c7ecf6kdff6408ba6c6bfa5@mail.gmail.com>
  References: <0105A1BF505D304E9E5AF38B63E40E4ED7E895@EXCHANGE.siglercompanies.com> <1d219a6f0512280733k74c7ecf6kdff6408ba6c6bfa5@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