temporal version of generate_series() - Mailing list pgsql-patches

From H.Harada
Subject temporal version of generate_series()
Date
Msg-id e08cc0400804230345t6183074an5c18d613e9e3076b@mail.gmail.com
Whole thread Raw
Responses Re: temporal version of generate_series()
List pgsql-patches
I found a TODO item "Add temporal versions of generate_series()" and
wrote patch for generate_series(timestamp, timestamp, interval).

I just copied it from int4.c to timestamp.c and fit the data types in
timestamp and interval. I wonder if we need ones for timestamptz and
time?? If so, the implementation will be so similar that some kind of
generic approach should make things smart. For example, find add '+'
operator function from syscache and take anyelement as arguments.

# This is my first time to send a patch. If I did something wrong, I
appreciate your pointing me out.

Hitoshi Harada

Attachment

pgsql-patches by date:

Previous
From: Magnus Hagander
Date:
Subject: Re: Improve shutdown during online backup, take 4
Next
From: Alvaro Herrera
Date:
Subject: Re: Snapshot management, final