Difference between revisions of "PostgreSQL Adapter Project - Code Review 1 Changes"
(→General Research) |
|||
Line 8: | Line 8: | ||
|- | |- | ||
| Can postgreSQL be configured to have the where clause use case insensitive compare for string values? i.e. (<code>select 'Q' = 'q'</code> => should return true) | | Can postgreSQL be configured to have the where clause use case insensitive compare for string values? i.e. (<code>select 'Q' = 'q'</code> => should return true) | ||
− | | | + | | http://www.postgresql.org/docs/8.4/static/citext.html |
|- | |- | ||
|Add UUID generation to x64 versions | |Add UUID generation to x64 versions | ||
Line 40: | Line 40: | ||
| | | | ||
|} | |} | ||
− | |||
=Classes= | =Classes= |
Revision as of 10:03, 21 April 2011
Contents
General Research
Task | Status |
---|---|
Can postgreSQL be configured to have the where clause use case insensitive compare for string values? i.e. (select 'Q' = 'q' => should return true)
|
http://www.postgresql.org/docs/8.4/static/citext.html |
Add UUID generation to x64 versions | |
Does extract(epoch from value) return milliseconds?
|
|
What encoding (UTF-8 and/or UTF-16) does PostgreSQL use for unicode? Can this be configured per column? | |
How is a repeatable read with exclusive lock implemented? | |
Does timestamp'value', handle java.sql.timestamp.toString()? | |
Does to_timestamp support milliseconds? | |
Does postgreSQL have constants for boolean values? | |
Does posrgreSQL jdbc driver support returning metadata in UpperCase | |
Does renaming a column cause error if a view depends on it? | |
Does lo.sql unlink large objects when table is truncated? |
Classes
PostgreSQLAdapter
Task | Status | UnitTest |
---|---|---|
Implement setQueryTime with Timer object
|
||
Refactor escaping literals
|
||
appendMatchExpression
|
||
indexNameMatches
|
||
appendSuffixHint
|
||
appendLiteral
|
||
getBind
|
||
isLiteral
|
||
appendTypeConversion
|
||
isUnicode
|
||
s_bindFactoryArray[Primitive.BINARY_ORDINAL]
|
||
DUPLICATE_KEY_NAME_PATTERN
|
||
s_bindFactoryArray
|
PostgreSQLSchemaManager
Task | Status | UnitTest |
---|---|---|
Override setCustomDatabaseProperties
|
||
dropTable
|
||
getGUIDExpr
|
||
remove trigger and procedure suffix $uid | ||
getDefaultLongspace, getDefaultTablespace, getDefaultIndexspace
|
||
getPrimaryKeys
|
||
generateIndexName
|
||
appendColumnType
|
||
Refactor creating and deleting full-text search indexes
|
||
Refactor checking for BLOB column to isBLOB | ||
Refactor checking for full-text search index on a column to getFullTextIndex | ||
alterColumn - use this logic
|
||
renameColumn - use this logic for
|
||
dropIndex
|
||
appendColumnAlternation
|
||
renameTable
|
||
deleteLargeObjects
|
||
getIndexInfo
|
||
Use toMetadataCase and toDatabaseCase instead of toLowerCase/toUpperCase |
Scripts
postgresql_create.sql
Task | Status | UnitTest |
---|---|---|
postgresql_setup.sql
Task | Status | UnitTest |
---|---|---|
Add comment to enable PREPARE TRANSACTION | ||
Use template field to set location of contrib folder
|
||
Add template field to set location for tablespace, indexspace and longspace | ||
Add SQL to create tablespace, indexspace and longspace | ||
Move function creation to postgresql_create.sql |
postgresql_drop.sql
Task | Status | UnitTest |
---|---|---|
Add sql to drop custom functions |