Updated get-database-type-specifier to handle text/longchar type
authorRuss Tyndall <russ@acceleration.net>
Mon, 10 Jun 2013 18:33:16 +0000 (14:33 -0400)
committerRuss Tyndall <russ@acceleration.net>
Mon, 10 Jun 2013 18:39:24 +0000 (14:39 -0400)
commit4972b90bab0ee31300e49c0c06b472de747cbbb6
treef708bf8bb127f84aa290303ef459c6cc69930940
parentba803f0eb40388d590e9f668976f09c4da0af7b2
Updated get-database-type-specifier to handle text/longchar type
and refactored

 * added a warning above defaulting to VARCHAR (since its probably NOT
   what is expected on a bad type specifier).

 * added a case where the specified type being a string, passes that
   string directly (to better/more easily allow db-specific
   data-types).

 * added cases where longchar or text converts to text, and exported
   those symbols (as this seemed type seemed to be missing from
   fddl/oddl anyway).

 * reorganized these default methods into a single method with a case
   statement rather than many eql specified methods (about half the
   code)

 * updated the docs to use text instead of longchar since text is a
   more standard db-type (pg,my,and ms all use text)
ChangeLog
doc/ref-fddl.xml
sql/generic-postgresql.lisp
sql/oodml.lisp
sql/package.lisp