Re: timestamped archive data index searches

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Stephen Birch" <sgbirch(at)hotmail(dot)com>
Cc: jason(dot)earl(at)simplot(dot)com, pgsql-general(at)postgresql(dot)org
Subject: Re: timestamped archive data index searches
Date: 2002-07-17 15:32:08
Message-ID: 14155.1026919928@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"Stephen Birch" <sgbirch(at)hotmail(dot)com> writes:
> The select is something like..
> SELECT AVG(x) FROM arch WHERE tstamp > :t

What *exactly* arrives at the backend when this is done? (Turn on query
logging to find out.)

I'm suspicious that the problem is a datatype-mismatch issue and you
might need a cast. But it's hard to tell without seeing the exact
query.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Robert Treat 2002-07-17 15:36:33 Re: table size growing out of control
Previous Message Bruce Momjian 2002-07-17 15:28:50 Re: table size growing out of control