Difference between revisions of "PostgreSQL Adapter Project - Code Review 2 Changes"
(→PostgreSQLAdapter) |
(→PostgreSQLSchemaManager) |
||
Line 120: | Line 120: | ||
! UnitTest | ! UnitTest | ||
|- | |- | ||
− | | | + | |table.getColumnIterator() |
− | * instead use table. | + | * instead use table.getColumnCount() |
− | | | + | |'''DONE''' |
| | | | ||
|- | |- | ||
|Comparing Primitive | |Comparing Primitive | ||
* no need to use getOrdinal | * no need to use getOrdinal | ||
− | | | + | |'''DONE''' |
| | | | ||
|- | |- | ||
|isLOB | |isLOB | ||
* use max_field_size for both | * use max_field_size for both | ||
− | | | + | |'''DONE'''' |
| | | | ||
|- | |- | ||
Line 146: | Line 146: | ||
|- | |- | ||
|appendColumnType | |appendColumnType | ||
− | * Primitive.String use | + | * Primitive.String use isLOB, remove check from nPrecision |
− | | | + | |'''DONE''' |
| | | | ||
|- | |- | ||
Line 157: | Line 157: | ||
|appendColumnAlteration | |appendColumnAlteration | ||
* ensure BLOB data is not being lost | * ensure BLOB data is not being lost | ||
− | | | + | |'''DONE''' |
| | | | ||
|- | |- | ||
Line 194: | Line 194: | ||
|unlinkLargeObjects | |unlinkLargeObjects | ||
* change to 2 implementations that take a table and a column | * change to 2 implementations that take a table and a column | ||
− | | | + | |'''DONE''' |
| | | | ||
|- | |- | ||
Line 241: | Line 241: | ||
|appendTSIncrement | |appendTSIncrement | ||
* quarter use interval'3 months' | * quarter use interval'3 months' | ||
− | | | + | |'''DONE''' |
| | | | ||
|- | |- |
Revision as of 15:51, 13 July 2011
Contents
General
- Run server with connections file that has no port
Research
Task | Outcome |
---|---|
Why does DB add quotes to column names that where not original quoted e.g. if a column name contains $ ? | |
Check meta data that jdbc driver returns if column names are quoted e.g. name, value, cache | |
Check what happens if table with column sizes that exceeds page size for a row. If there is limit, then move virtual columns to tables instead | |
Are postgresql functions atomic? | |
Check if size of column storage for characters can be specified | |
What is the maximum return value for full-text search? |
Classes
Fix repository (DONE - Recreated the repository)
- Remove changeset that overwrites changes that came from NexJ repository
PostgreSQLAdapter
Task | Status | UnitTest |
---|---|---|
shared Logic with PostgreSQLSchemaManager
|
DONE | |
variables for reflection
|
DONE | |
BINB_BLOB
|
DONE | |
s_bindFactoryArray
|
DONE | |
appendMatchExpression
|
||
appendSuffixHint
|
DONE | |
appendTypeConversion
|
||
isUnicode
|
DONE | |
caseInsensitive
|
DONE | |
indexNameMatches
|
DONE | |
executeQuery
|
DONE | |
BIND_BLOB
|
DONE | |
unwrap
|
DONE |
PostgreSQLSchemaManager
Task | Status | UnitTest |
---|---|---|
table.getColumnIterator()
|
DONE | |
Comparing Primitive
|
DONE | |
isLOB
|
DONE' | |
getOwner
|
||
getDependentViews
|
||
appendColumnType
|
DONE | |
renameTable / renameColumn
|
||
appendColumnAlteration
|
DONE | |
appendIndexSuffix
|
||
isValidColumnName
|
||
toMetaDatacase
|
||
toMetaDatacase / isCaseInsensitiveColumn
|
||
getCaseSensitiveName
|
||
isImplicitConversion
|
||
unlinkLargeObjects
|
DONE | |
alterColumn
|
||
dropFulltextProcedure
|
||
createFulltextProcedure / dropFulltextProcedure
|
||
dropTable
|
||
dummyviews
|
||
getTableName
|
||
renameTable
|
||
getIndexName
|
||
appendTSIncrement
|
DONE | |
makeViewDummy
|
CaseInsensitiveSQLSchemaManager
Task | Status | UnitTest |
---|---|---|
appendSeparator / getAlterColumnToken
|
PostgreSQLAdapterTest
Task | Status | UnitTest |
---|---|---|
isComptatibleVersion
|
||
getUnicodeCheckGuard
|
sql.AllTests
Task | Status | UnitTest |
---|---|---|
default.config
|
SQLSchemaManager
Task | Status | UnitTest |
---|---|---|
isWindowsCompatiable
|
||
setMetadataDatabaseProperties
|
SQLCursor
Task | Status | UnitTest |
---|---|---|
create wrapper for preparestatement
|
JBossInstaller
Task | Status | UnitTest |
---|---|---|
installLoginConfig
|
Scripts
- Remove empty script files
postgresql_setup.sql
Task | Status | UnitTest |
---|---|---|
encoding and collation
|
||
add comment that locktimeout exception is not support on postgresql | ||
add procedure to check that all contrib modules have been installed |