pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Rod Taylor <rbt@rbt.ca>
To: Rob Wood <rhwood@dobber.ca>
Cc: pgsql-sql@postgresql.org
Subject: Re: date interpolation
Date: 25 May 2003 22:37:45 -0400
Message-ID: <1053916664.279.162.camel@jester> (raw)
In-Reply-To: <Pine.LNX.4.44.0305251736050.29182-100000@dobber.ca>
References: <Pine.LNX.4.44.0305251736050.29182-100000@dobber.ca>

> So far the closest solution I have come up with involves creating a dummy
> table that contains a long list of dates that I can JOIN against in order 
> to fill in the interpolated values.  It doesn't work very well, and gets 
> slow with large tables.

Looks to me like the perfect candidate for a Set Returning Function.

-- 
Rod Taylor <rbt@rbt.ca>

PGP Key: http://www.rbt.ca/rbtpub.asc

Attachments:

  signature.asc (application/pgp-signature, 186B) download

view thread (2+ messages)

Message-ID: <1053916664.279.162.camel@jester>
Permalink:  ../1053916664.279.162.camel@jester/
Also on:    postgresql.org/message-id/1053916664.279.162.camel@jester

 · 

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: rbt@rbt.ca, rhwood@dobber.ca
  Subject: Re: date interpolation
  In-Reply-To: <1053916664.279.162.camel@jester>

* 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