Re: PostgreSQL TPC-H test result?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Robert Treat <robert(at)omniti(dot)com>
Cc: pgsql-general(at)postgresql(dot)org, "Amber" <guxiaobo1982(at)hotmail(dot)com>, "Andrew Sullivan" <ajs(at)commandprompt(dot)com>
Subject: Re: PostgreSQL TPC-H test result?
Date: 2008-09-09 20:26:55
Message-ID: 24765.1220992015@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-performance

Robert Treat <robert(at)omniti(dot)com> writes:
> http://www.it.iitb.ac.in/~chetanv/personal/acads/db/report_html/node10.html.
> It isn't terribly informative, but it doesindicate one thing, someone else
> was able to run query #6 correctly, while the above site claims it returns an
> error. Now when I look at query#6 from that site, I notice it shows the
> following syntax:

> interval '1' year.

> when I saw that, it jumped out at me as something that could be an issue, and
> it is:

Yeah. This is SQL spec syntax, but it's not fully implemented in
Postgres: the grammar supports it but the info doesn't get propagated to
interval_in, and interval_in wouldn't know what to do even if it did
have the information that there was a YEAR qualifier after the literal.

That's probably not good because it *looks* like we support the syntax,
but in fact produce non-spec-compliant results. I think it might be
better if we threw an error.

Or someone could try to make it work, but given that no one has taken
the slightest interest since Tom Lockhart left the project, I wouldn't
hold my breath waiting for that.

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message David Jaquay 2008-09-09 20:28:23 LEFT JOIN issue
Previous Message Darren Weber 2008-09-09 20:14:44 Re: OS X library path issues for libpq (ver 8.3)

Browse pgsql-performance by date

  From Date Subject
Next Message Greg Smith 2008-09-09 21:42:50 Re: PostgreSQL TPC-H test result?
Previous Message Scott Marlowe 2008-09-09 18:14:37 Re: How to measure IO performance?