stronk7
2efaf3f8ab
One trick to allow pseudo-null Oracle insertions. Let's see what happen.
2006-08-22 16:39:14 +00:00
stronk7
93d2c55ffc
Standard naming now user FOUR char for tables (to avoid
...
avoid some potential duplicates)
2006-08-22 16:15:44 +00:00
stronk7
88534572c3
Reducing the list of MSSQL reserved words to the efectively
...
reserved words (the previous list included a lot of words
reserved by SQLXX standars but not by MSSQL)
2006-08-21 12:28:46 +00:00
stronk7
c8f85eeeba
Reducing the list of PG reserved words to the efectively
...
reserved words (the previous list included a lot of words
reserved by SQLXX standars but not by PG)
2006-08-21 12:04:48 +00:00
stronk7
0513f3bfa5
$statement_end for Oracle changed to "/" because standard ;
...
causes problems with trigger generation
2006-08-20 21:56:54 +00:00
stronk7
f9543de627
Since PostgreSQL 7.4 the precision given for float columsn is
...
the number of bits to use, and not the number of decimals. So,
based on the number of decimals from the XMLDB schema, we are
going to create REAL (<6 decimals) or DOUBLE PRECISION (>=6) columns.
2006-08-20 18:19:50 +00:00
stronk7
16f07ff2b0
MySQL doesn't like any name on its primary keys (neither "primary")
2006-08-20 18:03:55 +00:00
stronk7
c412278140
Although difficult, now all the key/index/sequence/trigger names
...
are quoted if they are reserved words
2006-08-20 18:01:50 +00:00
stronk7
465a802937
Thought this was commited. Solve one bug in trigger generation
2006-08-19 00:58:30 +00:00
stronk7
1bf63d33c8
Oracle automatically builds UIXs for UKs
2006-08-17 19:40:49 +00:00
stronk7
9dcc6300a7
Now all the XMLDBxxx->geSQL functions return an array of statements to be
...
executed (easily to handle them in the installation/upgrade process
individually. Also, it's possible to specify one statement end.
2006-08-17 19:20:45 +00:00
stronk7
6c11ad54d8
UNIQUE KEY is UNIQUE
2006-08-17 00:31:23 +00:00
stronk7
848caec8c2
Now we are able to generate all the module SQL (any RDBMS) with one
...
simple function call (final inserts are missing yet)
2006-08-17 00:16:34 +00:00
stronk7
f075bac4f7
Bah, Oracle requires the default clause BEFORE the not null clause.
2006-08-16 23:45:18 +00:00
stronk7
6aa7885eb5
Minor adjustments to some comments.
2006-08-16 23:17:28 +00:00
stronk7
ada5648103
Fixing some potential problems with prefixes and object names.
2006-08-16 23:01:46 +00:00
stronk7
d7444bfce3
Initial commit of oci8po generator
2006-08-16 22:58:51 +00:00
stronk7
866c0747e8
Line feed added + small bug
2006-08-16 22:23:39 +00:00
stronk7
d7bf5f9917
Initial version of the mssql generator
2006-08-16 21:46:08 +00:00
stronk7
2ad7da9bec
Initial version of the postgres7 generator
2006-08-16 18:41:47 +00:00
stronk7
0c82f279c6
Added one more configuration parameter to disable inline SQL to be added in enum column lines
2006-08-16 18:37:33 +00:00
stronk7
aacf02c55b
Proper parent init and comment close
2006-08-16 17:53:24 +00:00
stronk7
6caad5177d
Minor change to do proper create table close
2006-08-16 17:51:49 +00:00
stronk7
e54ae5264b
Partial rework of the mysql generator. Working now.
2006-08-16 17:43:55 +00:00
stronk7
1f0872e8ba
Changed one default
2006-08-16 17:34:46 +00:00
stronk7
91496d15bc
Initial commit of the base generator class.
2006-08-16 17:28:41 +00:00
stronk7
edc8779b92
Latest changes, nothing important.
2006-08-15 11:30:32 +00:00
stronk7
82b7ceb568
Just adding support for reserved words....
2006-08-15 10:15:52 +00:00
stronk7
8165877a17
Initial commit on HEAD of all the XMLDB stuff.
2006-08-15 09:14:31 +00:00