~ubuntu-branches/ubuntu/trusty/weka/trusty-proposed

« back to all changes in this revision

Viewing changes to weka/experiment/DatabaseUtils.props.postgresql

  • Committer: Bazaar Package Importer
  • Author(s): Soeren Sonnenburg
  • Date: 2008-02-24 09:18:45 UTC
  • Revision ID: james.westby@ubuntu.com-20080224091845-1l8zy6fm6xipbzsr
Tags: upstream-3.5.7+tut1
ImportĀ upstreamĀ versionĀ 3.5.7+tut1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# Database settings for PostgreSQL 7.4
 
2
#
 
3
# url:     http://www.postgresql.org/
 
4
# jdbc:    http://jdbc.postgresql.org/
 
5
# author:  Fracpete (fracpete at waikato dot ac dot nz)
 
6
# version: $Revision: 1.3 $
 
7
 
 
8
# JDBC driver (comma-separated list)
 
9
jdbcDriver=org.postgresql.Driver
 
10
 
 
11
# database URL
 
12
jdbcURL=jdbc:postgresql://server_name:5432/database_name
 
13
 
 
14
# specific data types
 
15
# string, getString() = 0;    --> nominal
 
16
# boolean, getBoolean() = 1;  --> nominal
 
17
# double, getDouble() = 2;    --> numeric
 
18
# byte, getByte() = 3;        --> numeric
 
19
# short, getByte()= 4;        --> numeric
 
20
# int, getInteger() = 5;      --> numeric
 
21
# long, getLong() = 6;        --> numeric
 
22
# gloat, getFloat() = 7;      --> numeric
 
23
# date, getDate() = 8;        --> date
 
24
# text, getString() = 9;      --> string
 
25
varchar=0
 
26
text=0
 
27
float4=2
 
28
float8=2
 
29
int4=5
 
30
oid=5
 
31
timestamp=8
 
32
date=8
 
33
 
 
34
# other options
 
35
CREATE_DOUBLE=float8
 
36
CREATE_STRING=text
 
37
CREATE_INT=int
 
38
checkUpperCaseNames=false
 
39
checkLowerCaseNames=true
 
40
checkForTable=true
 
41