Re: Unexpected results with joins on dates

From: Tim Uckun <timuckun(at)gmail(dot)com>
To: David Johnston <polobo(at)yahoo(dot)com>
Cc: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: Unexpected results with joins on dates
Date: 2011-07-12 22:47:13
Message-ID: CAGuHJrPizhyKOFvTNc8WAii+KgTC-ubUvmfnWPNSAsJ81c5dTw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

> Only the first SELECT is used to define column types and names (in the case of NULL AS source2_* I am not positive if you need to cast the NULL or if it will use the type found in the second SELECT) and I generally put a "source" field into the output with a textual representation of which table the record originated from.
>

Seems like it would be more efficient just to create a table (temp or
otherwise) with and pump data into that.

Anyway thanks for the help.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Craig Ringer 2011-07-12 23:58:30 Re: Fw: Re: [BUGS] BUG #6099: Does pgcluster support hibernate?
Previous Message Nicolas Grilly 2011-07-12 21:10:08 Re: ts_rank seems very slow (140 ranked documents / second on my machine)