[HACKERS] period data type

2007-02-05 Thread Warren Turkal
Hello,

Is anyone working on a period data type as described in Dr. Richard Snodgrass' 
book _Developing Time-Oriented Database Applications in SQL_[1]? I did not 
see a relevant project listed in the TODO. I would like to contribute 
(possible funding and/or coding) the development of a conforming 
implementation of this data type.

[1]http://www.cs.arizona.edu/~rts/tdbbook.pdf

Thanks,
wt
-- 
Warren Turkal (w00t)

---(end of broadcast)---
TIP 5: don't forget to increase your free space map settings


Re: [HACKERS] period data type

2007-02-05 Thread Josh Berkus
Warren,

 Is anyone working on a period data type as described in Dr. Richard
 Snodgrass' book _Developing Time-Oriented Database Applications in SQL_[1]?
 I did not see a relevant project listed in the TODO. I would like to
 contribute (possible funding and/or coding) the development of a conforming
 implementation of this data type.

You should start with a basic spec of what you want to do in plain-text e-mail 
format.   It should answer the following questions:

a) What will be the functionality of the new type?
b) What need does it fill that current TIMESTAMP and INTERVAL do not?
c) Provide some sample syntax and queries which would show off the new type.
d) What dependencies would the new type create?  Index types?  Syntax 
extensions?  Libraries?

-- 
Josh Berkus
PostgreSQL @ Sun
San Francisco

---(end of broadcast)---
TIP 4: Have you searched our list archives?

   http://archives.postgresql.org


[HACKERS] period data type

2007-02-04 Thread Warren Turkal
Hello,

Is anyone working on a period data type as described in Dr. Richard Snodgrass' 
book _Developing Time-Oriented Database Applications in SQL_[1]? I did not 
see a relevant project listed in the TODO. I would like to contribute 
(possible funding and/or coding) the development of a conforming 
implementation of this data type.

[1]http://www.cs.arizona.edu/~rts/tdbbook.pdf

Thanks,
wt
-- 
Warren Turkal (w00t)

---(end of broadcast)---
TIP 1: if posting/reading through Usenet, please send an appropriate
   subscribe-nomail command to [EMAIL PROTECTED] so that your
   message can get through to the mailing list cleanly


Re: [HACKERS] period data type

2007-02-04 Thread Michael Glaesemann


On Feb 5, 2007, at 12:47 , Warren Turkal wrote:

Is anyone working on a period data type as described in Dr. Richard  
Snodgrass'
book _Developing Time-Oriented Database Applications in SQL_[1]? I  
did not

see a relevant project listed in the TODO. I would like to contribute
(possible funding and/or coding) the development of a conforming
implementation of this data type.

[1]http://www.cs.arizona.edu/~rts/tdbbook.pdf



This is an area I'm actively working on. I've worked out an example  
using composite types and PL/pgsql, though it's not very performant.  
I'm currently looking at making a contrib module, but have been  
slowed a bit by my lack of C experience. Regarding conformance, as  
there's currently no standard, I'm leary of cleaving too closely to  
the Temporal SQL proposal to ward of making something that would be  
close but not quite conformant to a future addition to the SQL  
standard. Also, I hope to make a more general interval/range/period  
constructor that would allow you to make periods of other types  
(say, integers) as well. I've found Date/Darwen/Lorentzos' Temporal  
Data and the Relational Model[1] very helpful.


Interested in possibly working together?

Michael Glaesemann
grzm seespotcode net

[1]http://books.elsevier.com/uk/mk/uk/subindex.asp?isbn=9781558608559

---(end of broadcast)---
TIP 4: Have you searched our list archives?

  http://archives.postgresql.org