Unix Technical Forum

Small addition to PGInterval

This is a discussion on Small addition to PGInterval within the Pgsql Patches forums, part of the PostgreSQL category; --> Hi all, please find attached a small extension to PGInterval: - getTimeInMills - returns the number of milliseconds in ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > Pgsql Patches

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-18-2008, 09:47 AM
Hartmut Benz
 
Posts: n/a
Default Small addition to PGInterval

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


---------------------------(end of broadcast)---------------------------
TIP 7: You can help support the PostgreSQL project by donating at

http://www.postgresql.org/about/donate

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-18-2008, 09:47 AM
Heikki Linnakangas
 
Posts: n/a
Default Re: Small addition to PGInterval

Hartmut Benz wrote:
> 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>


This list is for patches to PostgreSQL server. Please send patches to
the JDBC driver to the pgsql-jdbc mailing list.

PS. Thanks for the patch!

--
Heikki Linnakangas
EnterpriseDB http://www.enterprisedb.com

---------------------------(end of broadcast)---------------------------
TIP 7: You can help support the PostgreSQL project by donating at

http://www.postgresql.org/about/donate

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 04-18-2008, 09:48 AM
Bruce Momjian
 
Posts: n/a
Default Re: Small addition to PGInterval

Heikki Linnakangas wrote:
> Hartmut Benz wrote:
> > 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>

>
> This list is for patches to PostgreSQL server. Please send patches to
> the JDBC driver to the pgsql-jdbc mailing list.


Oh, and you should probably send the jdbc people a context diff, diff
-c.

--
Bruce Momjian <bruce@momjian.us> http://momjian.us
EnterpriseDB http://www.enterprisedb.com

+ If your life is a hard drive, Christ can be your backup. +

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

http://archives.postgresql.org

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 03:36 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com