Changes

Jump to: navigation, search

PostgreSQL Adapter

11 bytes added, 10:48, 10 December 2010
Phase 3: Test first design
buf.append("set sql_mode = concat(@@sql_mode, ',ANSI_QUOTES')"); // allow using doublequote when quoting column names in "CREATE TABLE" statements
buf.append(";set optimizer_search_depth = 0"); // let DB automatically decide on how long it takes to examine plans, improves long planning sessions
buf.append(";set max_sort_length = ").append (Math.max(MAX_VARCHAR_PRECISION, MAX_VARBINARY_PRECISION)); // set TEXT/BLOB minimum sorting length to be same as cutoff between varchar/text
return buf.toString();
}
|}
 
 
===Phase 4: Test properties specific to PostgreSQL ===
1
edit

Navigation menu