Re: age() function documentation

From: Thomas Lockhart <lockhart(at)alumni(dot)caltech(dot)edu>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: lockhart(at)fourpalms(dot)org, Hackers List <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: age() function documentation
Date: 2001-04-12 16:07:10
Message-ID: 3AD5D2AE.92726476@alumni.caltech.edu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> ISTM that this is more a result of
> a) timestamp subtraction not implemented per spec

Maybe. But it is implemented consistantly, and is more functional and
capable than the brain-damaged SQL9x spec (c.f. Date and Darwen) asks.

> b) date substraction not implemented at all (it does date - integer)

No, and changing what it *does* do has ramifications.

> c) implicit type conversions running wild

No.

> d) intervals not implemented per spec

? Why would you say this?

> (spec == SQL). Lots of fun projects here... ;-)

SQL == foolishness, sometimes. Especially when it comes to date/time
definitions and arithmetic. But that does not mean that there are things
which could be better, just that a blind conformance to the SQL standard
in this area will fundamentally damage our capabilities, so keep that in
mind.

What issue are you specifically addressing? It is clear that we do not
all have the same understanding of the age() function, but is that a
part of your statements above? Or not??

Please be specific about what you think needs changing, and why. And
I'll actually be able to pay attention after the 7.1 release ;)

- Thomas

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Patrick Welche 2001-04-12 16:15:52 Re: Call for platforms
Previous Message Peter Eisentraut 2001-04-12 15:47:40 Re: age() function documentation