Thread: 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
Attachment
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
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. +