Re: unexpected join results

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Matthew Phillips <mphillips(at)timing(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: unexpected join results
Date: 2003-03-18 18:49:26
Message-ID: 135.1048013366@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Matthew Phillips <mphillips(at)timing(dot)com> writes:
> 2 | 2003-03-18 10:10:07 | 2003-02-18 10:09:06 | 2003-02-18 10:10:03

> This output is expected and perfectly ok... the problem is when I add
> one more condition to the query. 'and m.second <= l.end_time'. This
> would match rows in which second falls in between begin_time and end
> time, something all the above rows do.

Uh ... March comes after February, last I checked.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message scott.marlowe 2003-03-18 19:21:06 Re: copying between Postgres databases
Previous Message Tom Lane 2003-03-18 18:47:23 Re: Big insert/delete memory problems