Project

General

Profile

« Previous | Next » 

Revision 1748

Added by Jing Tao over 21 years ago

Get rid of toDate method and inherit from AbstractAdapter directly.

View differences:

src/edu/ucsb/nceas/dbadapter/PostgresqlAdapter.java
100 100
    return "\"";
101 101
  }
102 102
  
103
 /**
104
  * Postgresql support the to_date function, so we use it
105
  */
106
  public String toDate(String dateString, String format)
107
  {
108
    return "to_date(" + "'"+ dateString + "', '" + format + "')";
109
  }
110
  
111 103
}
112 104
    

Also available in: Unified diff