postgresql-jdbc.git / summary / log / commit / refs

commit    77ffc6b53ffe7d8ba738f4f4c8c0fe61709a4e51
Author:   Oliver Jowett <oliver@opencloud.com>
Date:     Mon Jan 24 20:33:01 2005 +0000

    Fix the PGInterval(String) ctor to correctly set the object's postgresql
    type. Reported by Jean-Pierre Pelletier.


org/postgresql/util/PGInterval.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/org/postgresql/util/PGInterval.java b/org/postgresql/util/PGInterval.java index 846b5a6c..3869c4e8 100644 --- a/org/postgresql/util/PGInterval.java +++ b/org/postgresql/util/PGInterval.java @@ -3,7 +3,7 @@ * Copyright (c) 2004-2005, PostgreSQL Global Development Group * * IDENTIFICATION -* $PostgreSQL: pgjdbc/org/postgresql/util/PGInterval.java,v 1.4 2004/11/09 08:57:30 jurka Exp $ +* $PostgreSQL: pgjdbc/org/postgresql/util/PGInterval.java,v 1.5 2005/01/11 08:25:49 jurka Exp $ * *------------------------------------------------------------------------- */ @@ -19,6 +19,7 @@ public class PGInterval extends PGobject implements Serializable, Cloneable } public PGInterval(String value ) { + setType("interval"); this.value = value; } [parent: 5fcf247759ec]