Project

General

Profile

« Previous | Next » 

Revision 2722

Added by Jing Tao about 19 years ago

Add method as parent class adding method.

View differences:

src/edu/ucsb/nceas/dbadapter/PostgresqlAdapter.java
100 100
    return "\"";
101 101
  }
102 102
  
103
  /**
104
   * Return a hard code string to get xml_document list in timed replcation
105
   */
106
  public String getReplicationDocumentListSQL()
107
  {
108
      String sql ="select a.docid, a.rev, a.doctype from ( xml_documents as a left outer join  xml_revisions as b on (a.docid=b.docid and  a.rev<=b.rev)) where b.docid is null ";
109
      return sql;
110
  }
103 111
}
104 112
    

Also available in: Unified diff