Small addition to PGInterval

From: Hartmut Benz <hartmut(dot)benz(at)ti-wmc(dot)nl>
To: pgsql-patches(at)postgresql(dot)org
Subject: Small addition to PGInterval
Date: 2007-03-29 08:10:10
Message-ID: 460B7462.8000904@ti-wmc.nl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

Hi all,

please find attached a small extension to PGInterval:
- getTimeInMills - returns the number of milliseconds in the interval
- copying constructor PGInterval(PGInterval) for type-safe, cast-free
cloning
- now implements Comaparable<PGInterval>

--
Hartmut Benz,
TI-WMC, http://www.ti-wmc.nl

Attachment Content-Type Size
PGInterval.diff.gz application/gzip 719 bytes

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Heikki Linnakangas 2007-03-29 08:40:01 Re: Make CLUSTER MVCC-safe
Previous Message Heikki Linnakangas 2007-03-29 08:08:32 Re: [PATCH] add CLUSTER table USING index (take 2)