pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bruno Wolff III <bruno@wolff.to>
To: Timo Tuomi <ttuomi@gmail.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: Please help with a query..
Date: Mon, 17 Apr 2006 14:59:25 -0500
Message-ID: <20060417195925.GA28828@wolff.to> (raw)
In-Reply-To: <1144748062.471716.171260@u72g2000cwu.googlegroups.com>
References: <1144748062.471716.171260@u72g2000cwu.googlegroups.com>

On Tue, Apr 11, 2006 at 02:34:22 -0700,
  Timo Tuomi <ttuomi@gmail.com> wrote:
> 
> I'd need to get the time interval X-Y-Z on each date but I cannot rely
> on the date (can't make any joins based on the date part of
> timestamps). Instead I'd need to find out X-Y and Y-Z pairs with a
> minimal "stop" -time at Y and calculate total travel time for those.

If possible you should change your design, so that you can identify a route.



view thread (2+ messages)

Message-ID: <20060417195925.GA28828@wolff.to>
Permalink:  ../20060417195925.GA28828@wolff.to/
Also on:    postgresql.org/message-id/20060417195925.GA28828@wolff.to

 · 

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: bruno@wolff.to, ttuomi@gmail.com
  Subject: Re: Please help with a query..
  In-Reply-To: <20060417195925.GA28828@wolff.to>

* 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